Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using textboxes with datetime fields
Message
De
13/04/2004 18:27:47
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
13/04/2004 17:17:03
Steven Kleypas
Tarrant County College District
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00894608
Message ID:
00894620
Vues:
7
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform