Solved Multiple criteria to open a report (1 Viewer)

Capitala

Member
Local time
Today, 21:17
Joined
Oct 21, 2021
Messages
58
It's very confusing to use "quotes" with the docmd.openreport. Can any one please and please, provide us standard forms for:

1) Docmd.openreport,,, where NUMERIC FIELD= NUMERIC FIELD and NUMERIC FIELD= NUMERIC FIELD

2) Docmd.openreport,,, where NUMERIC FIELD= NUMERIC FIELD and TEXT FIELD= TEXT FIELD

3) Docmd.openreport,,, where NUMERIC FIELD= TEXT FIELD and TEXT FIELD= TEXT FIELD

I know it's annoying but I need your help as I'm so confused.
If there's a guiding reference for using multiple criteria, it'll be great

Thanks in advance
 

Gasman

Enthusiastic Amateur
Local time
Today, 21:17
Joined
Sep 21, 2011
Messages
14,274
Put the criteria into a string variable and debug.print it to see what you have.
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 13:17
Joined
Aug 30, 2003
Messages
36,125
No problem, I assume you got it working?
 

Users who are viewing this thread

Top Bottom