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

Sub-Report inner or outer join 1

Status
Not open for further replies.

Mwarner61

Technical User
May 16, 2011
2
US
I have read this thread and just need some clarification on what Ken was saying.... thread149-129286

Does a subreport behave like a left or inner join?

My report is linked by ID to the subreport but of course the sub has less records. I want the subreport to behave like a left join - will it?


Thanks so much (love u guys)

Using CRX1 on SQL db

 
Hi,
As Ken said, the sub is not 'linked' in the same way a table would be linked so Left, Outer, Inner, etc do not really apply.
In behaviour it is like a Left Outer Join in that all records in the main will be returned regardless of how many 'matching' records are returned by the sub.

Hope this clarifies things.



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Yes it does!! Thanks so much for simplfying it :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top