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

master table for many details tables

Status
Not open for further replies.

abdhab

MIS
Dec 10, 2006
51
CA
Hi
I have a master table (M) and many details tables (D1, D2, D3)
the relations i have between all the tables:
1 to n between M and D1
1 to n between M and D2
1 to n between M and D3
all the details tables have the same foreign key (which is the primary key of the master table)
i am trying to find a report that displays all the data for a specific record in M and all its related data from the details tables..
the problem here, is that the data are repeated a lot in the report (cos of the join)
any idea how to solve this problem?
thank you
 
I would suggest using subreports. Add one for each detail table and link the Child in each detail table to the Master. That should do what you need.

Paul
 
thanks
but i just figured out how to do it..
i used "UNION ALL", it is good..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top