Hi,
Set the controlsource as property of the class. Then do a 'replace table.chardatefield with DTOS(dateproperty) in the valid/lostfocus.
HTH,
Arriyel
>I have a database where all the dates are stored as C fields, yyyymmdd.
>
>I need a _Textbox class that will display the date as mm/dd/yyyy and accept
>dataentry in that format then switch it back to yyymmdd b4 the tableupdate.
>
>I would appreciate any suggestions as to ways to accomplish it, is it
>perhaps a part of some user libs here?
>thanks all
>
>bill
Speak using soft and sweet words in case you have to eat them later.