Common Dialog - Printing Reports

ahdkaw

Registered User.
Local time
Today, 12:53
Joined
Apr 6, 2000
Messages
11
Does anyone know how to set which report the print dialog will print in VBA?

Here's my code so far:

dlgCommon.Flags = cdlPDAllPages
dlgCommon.ShowPrinter
Reports("PurchaseOrderReport").SelPrint _
dlgCommon.hDC

See what I'm trying to do? Please help, I've been trying to work this for months!
(Access2000)

Thanks
 

Users who are viewing this thread

Back
Top Bottom