Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to print section with two records in report

Status
Not open for further replies.

mart991

Technical User
Feb 18, 2003
4
CA
I have group record and i want to print only those who have 2 or more lines in the section

thsnks
 
If I understand your question is similar to having an Invoice table and a InvoiceDetail table combined as the recordsource of a report. This is grouped by Invoice and I don't want to print any invoices that don't have 2 or more InvoiceDetail records.

Is this correct? If so, you may need to create a new query of the detail table that groups by InvoiceID and counts the number of InvoiceDetail records. Join this new query into your report's record source query so you can filter out those where the count is <2.

Duane
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top