Report Printing Problem

  • Thread starter Thread starter Phil Gamble
  • Start date Start date
P

Phil Gamble

My main form opens a report and is then hidden, sometimes
when I print the report the form is printed instead for
all the records in the current filtered set of records.
Does anyone have an idea why this happens ?
 
Phil:

Make sure that you add a simple line of code like this in whatever code you
use to hide the form, before you send the report to print:

Docmd.SelectObject acReport, "Your Report Name Here"
 

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

Back
Top