Thanks - I'm on the right track now. A bit of a problem as these controls on in a grid, but I think I'll figure it out.
bill
>>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
>
>Leave textbox controlsource empty and set it value to {} (so it would be date textbox). In it's refresh put this.value = ConvertCharToDate(myTable.myCharDField)
>
>in its lostfocus put
>replace myCharDField with dtos(this.value)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only