Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Way to enter Time Data
Message
From
05/03/1998 09:12:26
 
 
To
05/03/1998 08:51:12
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00082671
Message ID:
00082675
Views:
33
>I need to collect time data in a form, I am interested in hearing ideas on how to do that. I know it can be entered in a textbox, but I would prefer to use a combobox or something even neater. I tried using the combobox but couldn't get it to work by using a row source of values such as, 1.00, 1.15, 1.30 etc.
>
>Please let me know how to make the combobox work, or give me your ideas on how to input time on a form in the neatest way.
>
>Thanks

You can enter time into textbox with
.Inputmask="99:99:99"
After the value is entered you can validate it (hours<=24,minutes/seconds<=60) and transform into Datetime datatype e.g.:
cEntered=dtoc(date())+" "+thisform.text1.value
tEntered=ctot(cEntered)
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform