comparing fields

kitty77

Registered User.
Local time
Today, 03:50
Joined
May 27, 2019
Messages
715
I'm opening a report based on a certain criteria...

If [field1] = [Field2] And [Field3] = "Apple" And [Field4] = "Red"
Then it opens a unique report.

It works but not when I add them together like I am. It does not seem to like the = and together.

What am I doing wrong?

Thanks...
 
Try
Code:
If ([field1] = [Field2]) And ([Field3] = "Apple") And ([Field4] = "Red")
 
Bingo!!! That did it. Thank You.
 

Users who are viewing this thread

Back
Top Bottom