limit text box to digits

yoavchen

Registered User.
Local time
Today, 14:32
Joined
Jan 31, 2005
Messages
53
how can i limit an unbounded textbox so only digits from 0-9 will be entered
 
Change the format property of the textbox to numeric?
 
Last edited:
y,

You can use the OnChange event and look at Right(Me.YourField.Text, 1)
and ignore it if it isn't between "0" and "9".

Don't know if that's what you mean though.

Wayne
 
Use Imput Mask

You can set input mask to the way you like. See help for input mask in Access to know what's best suited to your needs
 

Users who are viewing this thread

Back
Top Bottom