Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DateTime field
Message
From
21/01/1999 11:08:36
 
 
To
21/01/1999 11:05:38
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00178483
Message ID:
00178484
Views:
26
>Hello Friends,
>
>i have three fields in my table date , hour and minute. but instead of keeping three fields , i am more interested to keep single datetime field. but problem in datetime is if user does not enter time ,then it takes vfp's default time(midnight time). what i should do ? should i keep three fields separate?because hour and minute fields would be character and it requires validations for proper value
>thankyou
>john still

You can have separate textboxes (e.g. txtDate,txtHour,txtMinute) on data entry form, validate and concatenate values and keep them in one field.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform