Subreport not printing after preview...

P

Paul Laska

Hi All,

I have a main report with about 12 subreports, 4 of these
subreports each have 1 subreport of their own. The main
report, in the Open Event, grabs a global variable and
replaces a parameter in the query.SQL that is it's
RecordSource with the value, so that I don't have to
prompt the user for the parameter. The global variable
is stored in a Private member variable. I expose the
member variable through a Public Property Get function,
which all the subforms retrieve so that they can alter
their RecordSource query.SQL in a similar fashion. The 4
subreports with a subreport of their own operate in a
similar fashion.

This all works fine, and when I Preview the report
everything looks good. However then I hit the Print
button, and what comes out is only the information
directly on the main report. If I goto the Database
window, highlight the report, and select print (without
previewing the report) everything prints just fine.

Does anyone have any ideas?
Thanks.

Paul Laska
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top