Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
D Format analogue for the datetime field
Message
 
 
To
16/12/2005 08:36:01
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01078457
Message ID:
01078622
Views:
9
>You can add a property to your class that will store the field's name (you can probably just use .cControlSource).
>
>Unbind the control, maybe set the input mask to 99/99/9999 99:99:99.
>
>Have the textbox refresh display the value
>* refresh method
>this.value = ttoc(eval(this.cControlSource))
>
>Have the valid write the textbox's value to the actual field (replace
>* valid method
>* first validate the value is good....
>* then write the value to the table
>replace (this.cControlSource) with ctot(this.value)
>
>
Thanks, I think I need a separate time class. I may either go with this idea or try a container based class.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform