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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print preview with Access2000

Status
Not open for further replies.

fheyn

Programmer
Mar 22, 2001
198
DE
hi,
got the following problem :
DoCmd.OpenReport MyReport, acViewPreview, , stFilter
will open a window for displaying the MyReport.
Is there a possiblity to manipulate this window (menu or
toolbar) to initiate printing ?
Right now I have to close this window and then select
printing without preview.
thanks in advance
 
Do you mean print a report while it is open in preview???

Simply right click on the report and select print.... Please remember to give helpful posts the stars they deserve!
This makes the post more visible to others in need! [thumbsup2]

Robert L. Johnson III, A+, Network+, MCP
Access Developer/Programmer
robert.l.johnson.iii@citigroup.com
 
On right click all context menu items are disabled.
By the way, the window has a caption and I don't know were
it comes from.
 
If you leave the Report.Caption property blank, it will use the name you have saved the report as as the caption....

Outside of creating a custom menu for printing, the only thing you could do is in the same process that opens the report, opena small form off to the side. Set the form to pop-up to make it always on top of the report. teh form only has one button...print....that prints the report. Then when the report is closed, it closes the form with it. Please remember to give helpful posts the stars they deserve!
This makes the post more visible to others in need! [thumbsup2]

Robert L. Johnson III, A+, Network+, MCP
Access Developer/Programmer
robert.l.johnson.iii@citigroup.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top