You can validate the contents of the textbox using the isnumeric function.
You will also have to look for "-" and "." using the instr function.
"Claud Balls" wrote:
What would be the best way to check that text is a positive whole
number? I'm thinking about putting it in the textbox_exit event.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!