How to make more criteria in the report. (1 Viewer)

famokad

New member
Local time
Today, 03:40
Joined
Aug 20, 2020
Messages
5
How to make more criteria in the report.
docmd.openreport "report name", ,criteria (more than one)
 

Isaac

Lifelong Learner
Local time
Yesterday, 17:40
Joined
Mar 14, 2017
Messages
8,777
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 17:40
Joined
Oct 29, 2018
Messages
21,454
How to make more criteria in the report.
docmd.openreport "report name", ,criteria (more than one)
Basically, you make the criteria like you would use a WHERE clause. For example:

criteria = "Field1=Value1 AND Field2=Value2"
 

Users who are viewing this thread

Top Bottom