V
Vadim Rapp
On a form, I have textbox bound to datetime column on the server. The column
may contain time as well, but I don't want to see it on the form. I specify
Format="Short Date". Then it shows up without the time, but as soon as it
gets focus, the time shows up. Is there a way to avoid it? I've put
Private Sub D_GotFocus()
If CLng(D) <> D Then D = CDate(Split(CStr(D))(0))
End Sub
but maybe there's some trick to achieve the same without coding? specifying
decimal places=0 as well as specifying input mask don't have any effect.
Vadim Rapp
may contain time as well, but I don't want to see it on the form. I specify
Format="Short Date". Then it shows up without the time, but as soon as it
gets focus, the time shows up. Is there a way to avoid it? I've put
Private Sub D_GotFocus()
If CLng(D) <> D Then D = CDate(Split(CStr(D))(0))
End Sub
but maybe there's some trick to achieve the same without coding? specifying
decimal places=0 as well as specifying input mask don't have any effect.
Vadim Rapp