Print Preview Different than Actual Print

  • Thread starter Daniel T. E. Francis
  • Start date
D

Daniel T. E. Francis

In Access 2000 or 2002. I have a report with a report
footer. I am counting the number of items in the group
headers. In print preview mode the total is correct.
When the report is physically printed the count is
doubled. i.e. oprint preview says 1 record, when
physically printed it says 2 records. I have traced
through the code with VBA and do not see any where that
the calculation is being performed twice. It is based on
a query and the query ios only passing 1 record (for this
exapmle). Any help would be appreciated.

Dan
 
F

fredg

Daniel said:
In Access 2000 or 2002. I have a report with a report
footer. I am counting the number of items in the group
headers. In print preview mode the total is correct.
When the report is physically printed the count is
doubled. i.e. oprint preview says 1 record, when
physically printed it says 2 records. I have traced
through the code with VBA and do not see any where that
the calculation is being performed twice. It is based on
a query and the query ios only passing 1 record (for this
exapmle). Any help would be appreciated.

Dan

Dan,
The numbers are summed when previewed, then again when printed, without
having been reset.
Reset the controls to 0 in the Report Header Format event.

Something like:
[ControlinGroupHeader1] = 0
[ControlinGroupHeader2] = 0
etc.

This way they are initialized to 0 both before previewing and before
printing.
 

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