Report Format

kitty77

Registered User.
Local time
Today, 14:18
Joined
May 27, 2019
Messages
715
I have a report that normally has two pages to it. Is there any way to not have the second page based on if [results] = "fail"
Rather than having to creating a separate report.

Thanks
 
use filter on your report or on your report recordsource.
 
What would I put in the recordsource or filter?
 
A Report lets you do a Group By. Make your Group By top level on the Pass / Fail Comment and Sort Descending. In the properties set it to break after the group. May require a Pass/Fail group footer to break after the Passes.
 
I'm using (below) So, I only have one record at a time. So, really nothing to group.

strWhere = "[Mrecordid]=" & Me!Mrecordid
DoCmd.OpenReport strDocName, acViewReport, , strWhere
 
there any way to not have the second page based on if [results] = "fail"
You have to give more detail. Reading that, we would assume the first page is RESULTS that passed and the second page are RESULTS that failed. Maybe a screen shot of what you have would help.
 

Users who are viewing this thread

Back
Top Bottom