Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using textboxes with datetime fields
Message
From
13/04/2004 18:27:47
 
 
To
13/04/2004 17:17:03
Steven Kleypas
Tarrant County College District
Texas, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00894608
Message ID:
00894620
Views:
8
>I want to use a textbox control to allow the user to input a date and another textbox control for the user to input the time of a datetime field. In other words, only the date MM/DD/YYYY should show in one box and HH:MM in the other, with both using the same ControlSource. I haven't seen any specific info about this outside of SET commands for the date format. Is there a built in way to do this? Thanks for any help!

I guess I can sort of see why you'd want to split up the parts. You'd be better off, IMO, just using two controls, unbound, and building your datetime field from the two controls.

However, if you can just use one control, bound to the datetime, you are saved having to write the time validation you'll need. Unless you use spinners for the hours, minutes, and seconds, of course.

I'll be curious to see what other replies you get.
Previous
Reply
Map
View

Click here to load this message in the networking platform