>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