Input Mask is truncating

  • Thread starter Thread starter Roz via AccessMonster.com
  • Start date Start date
R

Roz via AccessMonster.com

I have the following input mask on my form \1:999999

This will always give the user 1: and allow them to enter up to 6 numbers
after the colon. But, if the first number after the colon is 1 for example
1234, it truncates the number one and only displays 234. So, I type: 1:1234
and it returns 1:234.

Has anyone found a solution for this? Please help.

Roz
 
Not sure how you are using this number, but try "1:"999999 (or \1\:999999)
This will give you 1:and your number.

Damon
 
I have the following input mask on my form \1:999999

This will always give the user 1: and allow them to enter up to 6 numbers
after the colon. But, if the first number after the colon is 1 for example
1234, it truncates the number one and only displays 234. So, I type: 1:1234
and it returns 1:234.

Guessing here... but : is a valid input mask character too, so try quoting it:

\1\:999999

John W. Vinson [MVP]
 
Back
Top