Hi,
I'm stuck with this task. I have a text box named tb_StartDate and I would like to ask if this is possible to mask this field with this character " / / " when the user is on or is about to make an entry to this box:
Goods Issue Date : [ / / ]
Initially, my program has this format but only when the user leaves that date prompt:
VB Code:
Private Sub tb_StartDate_LostFocus() tb_StartDate.Text = Format(tb_StartDate.Text, "##/##/##") End Sub
Thanking you in advance.




Reply With Quote