Inputmask doesn't work

T

TNL

Hi,
In an access 2000 database, in German language setting, I
have a textbox on a form.

in form_load event procedure, I set then inputmask of the
textbox:
Private Sub Form_Load()
txtInput.InputMask = "99.99.0000;0;_"
end sub

in runtime the inputmask is "sommetimmes" incorrect, as
following:
12,12,2003

When I set a value to the textbox:
Private Sub Form_Load()
txtInput.InputMask = "99.99.0000;0;_"
txtInput.value = "12.12.2003"
or
txtInput.value = "12122003"
or
txtInput.value = Date()
end sub

then the inputmask doesn't work anymore:


How can I do?
I want to edit a datevalue with the inputmask

Thanks
TNL
 
Top