I'm using a mask edit textbox with a format of ##:## to enter times in a sql DB. inserting records works fine.
Now I want to edit the record and keep the existing mask of ##:## but am having a problem when bringing in the data.
I have tried text1.mask = rs.fields("blaa")
I have also tried to use the seltext as well.
I can get the data to show but it comes over with the wrong format. say the user enter 06:05 (which is 6:05am)
the textbox shows 60:50 - since Sql server drops the first 0 how do I format the textbox ?
any help would be appreciated
Now I want to edit the record and keep the existing mask of ##:## but am having a problem when bringing in the data.
I have tried text1.mask = rs.fields("blaa")
I have also tried to use the seltext as well.
I can get the data to show but it comes over with the wrong format. say the user enter 06:05 (which is 6:05am)
the textbox shows 60:50 - since Sql server drops the first 0 how do I format the textbox ?
any help would be appreciated