Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing

Status
Not open for further replies.

programmer33

Programmer
Nov 22, 2002
2
0
0
US
I have the following code
call rptName.printout

I am trying to get the dialog box that the users has to click on the ok to go away. Does anybody have any suggestions?

This is used so the users can just click a button and then the all of the reports will print.

Thanks for your Time
 
Programmer33,
This is how I have handled sending the report to the printer using the common dialog box.

CommonDialog1.ShowPrinter
If Err Then
Err = 0 'user pressed the cancel button
Rep.CancelPrinting
Exit Sub
End If
Rep.PrintOut False, CommonDialog1.Copies

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top