What you're after is possible but will involve some work, identiying position in the textbox.
Have you thought of using the Masked Edit control. Looks just the same as a textbox, but has the MASK property you need. You can add this control easily to one of your toolbars. Rt Click the toolbar, Add-Remove Items. In the List of COM components, find the Microsoft Masked Edit control and tick it. Ok the changes and its now on your toolbar.
Then use as follows
Code:
with me.xMask
'This box will hold date information.
.Mask = "##/##/##"
.Text = "12/01/99"
endwith
I tried to use the COM component Microsoft Masked Edit control and when I bound it to a field in my dataset no data showed in ANY fields on my form. I still had a record count by my navigator. What am I doing wrong. Be gentle, I'm a newbie.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.