Report prints but does not display

B

Bill McCarthy

I have created a lot of reports successfully but I am having this problem
only in this one case.

I create the report on a table (no criteria) and it displays only, it does
not print automatically.

I then put some code in REPORT_OPEN that changes ME.REPORTSOURCE to a string
like:

SELECT * FROM tbl WHERE deliveryDate >= #1/1/2006# AND deliveryDate <=
6/1/2006#

Suddenly, it automatically goes to the default printer EVERY time. It
SOMETIMES will also display the report.

I want it to display first and then I'll print it if I want, just like all
the other reports.

Can anyone tell me what I am doing wrong? Thanks.
 

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