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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Grouping

Status
Not open for further replies.

Maelstrom

Programmer
Jul 11, 2002
3
CA
Hello,

I would like to make invoices using reports. I have four tables- invoices, customers, items and items ordered. I have made a query from these tables that includes the fields name, address, invoice id., good id., description, quantity bought, price etc and also a formula that multiplies the price of a good by the quantity bought. When I make a report from this query I get more than one report for one invoice. For example, if invoice id. 20 has details about a customer who has ordered 3 different items then I will get three reports for each of the three items. What I would like to do is combine all the items bought into one report, and not have a separate report/invoice for each item.

Here is a screenshot to make my problem clearer:
rpt.gif

Notice how there is the same invoice id. for each item purchased. I would like all items purchases to be grouped under that same invoice.

Please help.

Thanks in anticipation.
 
I couldn't see you snapshot but I'd guess that you have all your controls in the detail section. Pull all the common controls (eg customer id, name address etc) into the report header section and leave the order specific stuff in the detail (eg part number, quantity, price). Best Regards,
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top