Print preview

A

Alan T

Hi,

I tried to print a particular repor with one employee only.
It works here with preview:
DoCmd.OpenReport "rptInvoice", acViewPreview, , "[tblInvoices].[ID] = " &
Me.txtInvoiceID, acDialog

However, if I don't preview it by
DoCmd.OpenReport "rptInvoice", , , "[tblInvoices].[ID] = " &
Me.txtInvoiceID, acDialog
it then prints out all employee, any idea?

In addition, in the preview, there is no print button or option for me to
print, what property I should set to enable the print option in preview?
 

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