Good day
How can i code system date as autofill so it wont be captured on the questionnaire?
Thabiso
Date Autofill
Forum rules
New release: CSPro 8.0
New release: CSPro 8.0
Re: Date Autofill
In the preproc of the field use the sysdate() function to fill in the value of the field:
PROC INTERVIEW_DATE
preproc
// Fill in interview date automatically based on current date
INTERVIEW_DATE = sysdate("YYYYMMDD");
If you don't want the interviewer to be able to modify the date you can use the noinput command or you can make the field protected.
PROC INTERVIEW_DATE
preproc
// Fill in interview date automatically based on current date
INTERVIEW_DATE = sysdate("YYYYMMDD");
If you don't want the interviewer to be able to modify the date you can use the noinput command or you can make the field protected.