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

Group main report by field in sub-report 2

Status
Not open for further replies.

BreffniK

Technical User
Apr 27, 2004
24
US
Hello-

Thanks for taking time out of your busy day to read my question.

Is is possible to group and sort the main report by a field only available on the sub-report? If so, what's the trick?

Your expertise and advice is greatly appreciated!

Thanks!
 
No, a subreport fires after the main report, so it couldn't know where to start.

It sounds like you have the design backwards, the subreport should be the main report.

In general try to avoid using subreports, they slow things and can almost always be avoided.

-k
 
As synapsevampire says, the subreport is dependant on the main report. It can return values, using Shared Variables. But these are only available in the section after the section that calls the subreport.

Madawc Williams
East Anglia, Great Britain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top