creating a validation rule for a textbox that requires integers

P

Paul James

Two questions:

1. I'd like to create a validation rule for a text box in a form that only
accepts integers greater than zero. What expression can I write in the
Validation Rule property of the control to accomplish that?

Thanks in advance.

Paul
 
P

Paul James

In my original message I said there were two questions, but I answered my
second one while I was writing the first one.

My apologies for any confusion.

Paul
 
J

John Vinson

Two questions:

1. I'd like to create a validation rule for a text box in a form that only
accepts integers greater than zero. What expression can I write in the
Validation Rule property of the control to accomplish that?

The validation rule should be >0

and you could bind it to an Integer or Long Integer field.
 

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