Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time in a text box
Message
 
To
01/09/2000 09:20:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00411678
Message ID:
00411685
Views:
11
>I have a table with a "time" field in it which includes the ":" characters (hh:mm:ss) format. If I link this field to a text box control with the controlsource property the time shows up correctly in the text box. However, the user has to reenter the ":" if they modify the field. I tried using the InputMask property with a "99:99:99" mask (format property = KR) but the ":" are not stored with the value entered by the user and old values are not displayed properly.
>
>How can I set up a text box for time input (hh:mm:ss) so the user does not have to enter the ":" but will be compatible with my current database?

Rick, check the file#9430 Time Entry TextBox Class in Files section - Classes-VCX,
it might help you.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform