Check the Input Masks property of your textbox (In your property sheet under the Data tab). Just fill in the property as you have it typed ##-####.# and write an a message your user will see if an incorrect value is typed in the validationRule property.
I don't want to use the input mask. It interferes with the data in the table. Later when I'm running some queries I need to strip off the first two digits and the last digit. The input mask interferes with the len function.
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.