I see you can do this with a report & then a sub report?
Here is my delima.
3 Tables. Tables A, B & C.
A has relations to B, B has relations to C.
I want a report to display A's records, but on the same report, have those A
records list its C records.
I take it you link the subreport with master/child, but how?
Curtis
> Is this possible?
>
[quoted text clipped - 9 lines]
>
> Curtis
JohnB - 03 Nov 2006 16:48 GMT
Hi. I think this way would work.
First create a report based on tableB, which has a subreport based on
tableC, with the master/child link set using the relationship between tableB
and tableC. In this report you don't actually need to have any text boxes
showing tableb fields if you don't want them. Now think of this whole
report/subreport as a subreport. Create a new report based on tableA and use
the first report/subreport as a subreport on it, this time using the
master/child link relationship between tableA and tableB.
I hope that is clear.
Cheers, JohnB
> I see you can do this with a report & then a sub report?
>
[quoted text clipped - 24 lines]
> >
> > Curtis
Marshall Barton - 03 Nov 2006 18:19 GMT
The linking is done through the subreport control's Link
Master/Child Fields properties.
Before you go too far with this, note that the key to any
report is to create a query that selects the right data for
the report. What you say you want can be done without using
subreports. First create a query that appropriately Joins
the three table and selects the needed fields from the
tables. Then use the report's Sorting and Grouping (View
menu) to create header and footer sections for the customer
data and put the order info in the detail section.

Signature
Marsh
MVP [MS Access]
>I see you can do this with a report & then a sub report?
>
[quoted text clipped - 18 lines]
>> How do you display all the product records for that particular customer on
>> ONE report or same page?