Input Mask is truncating

  • Thread starter Roz via AccessMonster.com
  • 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
 
D

Damon Heron

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

Damon
 
J

John W. Vinson

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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top