Hello
I am using Date Capture Type, on a mobile (Andoird).
But when I get to the field to select the date, the date that appears by default is (12/31/2100), I would like the default date to be that of day on which the interview takes place and so it can be changed more easily if the date you want to enter was yesterday.
The variable is numerical and this is its configuration
I hope you can help me with this setback I had in my application development.
Thank you so much
Date Capture Type
-
- Posts: 1839
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Date Capture Type
You can set it in the preproc, like this:
PROC E120
preproc
// if the date has not been previously assigned, set it to today's date
if visualvalue(E120) = notappl then
E120 = sysdate("DDMMYYYY");
endif;
preproc
// if the date has not been previously assigned, set it to today's date
if visualvalue(E120) = notappl then
E120 = sysdate("DDMMYYYY");
endif;
Re: Date Capture Type
Good morning
Thank you very much for the support, this turned out great.
Greetings
Thank you very much for the support, this turned out great.
Greetings