Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best way to hande TIME in vfp50a?
Message
 
 
To
28/08/1997 20:24:23
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00047460
Message ID:
00047615
Views:
25
>I am writing a program and I need a TIME IN field and
>a TIME OUT field. I know I could use VALIDS and check
>the user entry, but I thought that vfp50 might have
>some built in stuff. Any ideas?

Robert,

I am just thinking off of the top of my head here...

You could use a datetime field and then either fill the date portion with null or you could use the entire field. Your program would then have a time and date for the start of the appointment (TIME_IN) and time and date for the end of the appointment (TIME_OUT). It would be a more general solution to scheduling.

You would then be using a field that is fundamentally of type "time" and foxpro would handle much of the error checking.

Someone jump in here if this suggestion is totally wrong, but I pretty sure this should work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform