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

Sub reports

Status
Not open for further replies.

sanders720

Programmer
Aug 2, 2001
421
US
I have a report with quote data - which is grouped in three levels. The report works great.

I would like to pull in a sub report at the end of the report that uses different data. When I do this, the report does not pront any of the data. I do not want to print certain data based on otherf report data, I just want to have this information appear at the end of the other report as entirely separate data, but formatted on the same grid. What can I do to accomplish this?

Thankyou in advance for the help...
 
If the subreport is completely independent what happens if you open it on its own. Do you see data? Assuming you do try putting an arbitrary text label in the report header (not page) of the subreport. When you run the main report you should always see that text box. If you don't see it something is set wrong on the subreport properties. Check the obvious stuff like "visible" etc Best Regards,
Mike
 
I do see the text box. What I do not see is the data. The report works great independently.
 
The only thing I can think of is if you inherited and/or cloned this from another report you may have some linkage set up. This is a long shot but check the link properties of the subreport.

ps what version are you using? Best Regards,
Mike
 
Okay, it works... The only problem I'm having now is that the dlookup does not work. The syntax must be different when I am in a sub report vs a report. Any thoughts on this?

=DLookUp("[Customer]","[Customer]","[Customer ID] = '" & [Reports]![rptInquiryInfo]![CustomerID] & "' ")

Thx,

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top