Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DateTime Field
Message
 
To
08/06/1999 16:44:16
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00227675
Message ID:
00228110
Views:
17
I guess the question would be why does the user enter the time?

You could default the time field to the system time when the form opens or in your code set the time. If this field is only for tracking reasons the user should not even need to see it.

Ron


>I have an requirement where I need to record date and time of
>particular event. I could simply put datetime field for this.
>But datetime field is having problem that if user does not enter
>time than vfp automatically updates it with midnight time.
>In my case, it is very often that user do not enter time.
>
>So, i have to split datetime between date type and character type.
>I will be storing time in character field. But i know that if we
>store time in character field then there are some validations require like >hour should be withing range etc .
Ronald L. Thorp
http://www.Fox-Pros.com
Fox-Pros, Inc.
Office 407-498-0100
Previous
Reply
Map
View

Click here to load this message in the networking platform