validation rule isn't working

A

AlexD

I enter some value into textbox1 and taxtbox2 on my form.
In textbox3 I have [textbox1] - [textbox2].

I tried to set up validation rule for the textbox3 such as
=0 but it's not working.

Can you help, guys.
 
D

DebbieG

Try

=Nz([textbox1], 0) - Nz([textbox2], 0)

Debbie


I enter some value into textbox1 and taxtbox2 on my form.
In textbox3 I have [textbox1] - [textbox2].

I tried to set up validation rule for the textbox3 such as
=0 but it's not working.

Can you help, guys.
 
A

Allen Browne

Are these unbound text boxes?
If so, the Validation Rule will not be applied, since Textbox3 is getting
its value programmatically (not by user entry).

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

AlexD said:
I enter some value into textbox1 and taxtbox2 on my form.
In textbox3 I have [textbox1] - [textbox2].

I tried to set up validation rule for the textbox3 such as
=0 but it's not working.

Can you help, guys.
 

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