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

Printing Reports And Subreports

Status
Not open for further replies.

FontanaS

Programmer
May 1, 2001
357
US
Hello,

I have a report that is generated using a recordsource in visual basic. In that report I also have three subreports that use a recordsource in visual basic. The probelm is that I open the parent report in acPreview mode. I can see the results of the three subreports just fine. When I select the print icon on the toolbar, the subreports DO NOT print, just the parent report.

This seems so odd to me. Is there a reason for this?

THANKS
 
How are you using visual basic (or VBA) to generate the record source?
Have you tried setting the SQL of the record source query prior to opening the reports?

Duane
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top