Automatic fill of time field
Automatic fill of time field
Is it possible to automatically fill time field such as interview start time?
Re: Automatic fill of time field
You make the field protected and put the following code in the postproc of the previous field
timefield=systime("HHMMSS");
or put that code in the preproc of the time field
timefield=systime("HHMMSS");
or put that code in the preproc of the time field
Re: Automatic fill of time field
Thanks for the response. I tried the using the code
$=edit("99:99:99",systime("HHMMSS"));
But I get the following error message although I declared my time variable as alpha
ERROR: You must assign the result of the function to an alpha near line 1 in STIME procedure
$=edit("99:99:99",systime("HHMMSS"));
But I get the following error message although I declared my time variable as alpha
ERROR: You must assign the result of the function to an alpha near line 1 in STIME procedure
Re: Automatic fill of time field
Using the "edit" function will convert the output to an alpha variable so you have to convert your time field to alpha
Look at this post
http://www.csprousers.org/forum/viewtopic.php?f=7&t=484
Look at this post
http://www.csprousers.org/forum/viewtopic.php?f=7&t=484