Printer won't switch

D

DS

I'm using application.printers and for whatever reason the printers
stopped switching. The report will only print with whatever I set the
report to from design view.... am I missing something here?

Set Application.Printer = Application.Printers(Me.TxtName.Value)
DoCmd.OpenReport "rptPrepSlip",,,"PDCheckID = " & Me.TxtCheckID & " And
PDPrinterID = " & Me.TxtNumber & ""
Set Application.Printer = Nothing

Thanks
DS
 

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

Similar Threads


Top