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

How to avoid duplicate lines withone-to-many table link

Status
Not open for further replies.

izakwould

Technical User
Feb 6, 2003
2
US
I have linked two tables in a report, a customer table and a contact table. In the customer table, there is only one record per customer number, but in the contact table, there can be multiple contacts per customer number (or in some cases no contacts).

I'm trying to figure out how to link them so that I don't get duplicate lines on the report. I only want to have one line on the report per customer number, instead of having one line per every record in the contact table (which results in several lines per customer number).

Any suggestions?
 
Group on customer, suppress detail, and display customer & contact info in the group footer or header.
 
Is there a way to do it with formulas instead of grouping? If I use grouping, it limits my ability to group based on other stuff...
 
You can do via formula using the Next/Previous function.

It is also possible to group on formula.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top