I have an unbound masked edit control with a mask for a social security number. I had code in the click event of a button to clear the SSN but it would only work the first time the button was clicked.
This is the line of code I used:
Me.MaskedEdit1.Text = " / / " (3 spaces, 2 spaces, 4 spaces)
Also tried:
Me.MaskedEdit1.Text = " / / " (same spaces)
Me.MaskedEdit1.Mask = "###/##/####"
And:
Me.MaskedEdit1.Mask = "###/##/####"
Me.MaskedEdit1.Text = " / / " (same spaces)
Any ideas?
Thanks