Hi,
In brief, I have two tables stored in Access with a One - many relationship.
LeadComp (LeadCompID, LeadCompName) one table
SubComp(SubCompID, LeadCompID, SubCompID) many table.
The main data on the report is from the Lead Comp table. At the end I have a total number of lead comps (running total) I also want to have a total of Sub Comps, but when I add this to my report the total of lead comps reduces.
A left outer produces just those in the SubComp table that match, but this then misses out the ones where a Lead Comp has more than one Sub Comp
I think it is to do with the relations but i cant get it to produce the right output.
I really would appriciate your help, if you need any more info please let me know.
Thanks
John
In brief, I have two tables stored in Access with a One - many relationship.
LeadComp (LeadCompID, LeadCompName) one table
SubComp(SubCompID, LeadCompID, SubCompID) many table.
The main data on the report is from the Lead Comp table. At the end I have a total number of lead comps (running total) I also want to have a total of Sub Comps, but when I add this to my report the total of lead comps reduces.
A left outer produces just those in the SubComp table that match, but this then misses out the ones where a Lead Comp has more than one Sub Comp
I think it is to do with the relations but i cant get it to produce the right output.
I really would appriciate your help, if you need any more info please let me know.
Thanks
John