Problem after standard print dialog box

RichS

Healthy software!
Local time
Today, 16:54
Joined
Apr 16, 2008
Messages
44
I have used vb to call up the standard windows printer dialog box whenever I need to print something, basically because on the several PCs using the database there are different printers to select and also it's an easy way to chose how many copies are to be printed. The printing part works, but for some reason a preview window always comes up afterwards, even if the 'Cancel' button is pressed. Is there a way to stop this appearing?

Also, is there a way to set a flag if something has been printed using this method that doesn't get set if the printing is cancelled?
 
Last edited:
I think you get around this by using the acViewNormal option with the docmd.openreport command.
 

Users who are viewing this thread

Back
Top Bottom