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!

Command button

Status
Not open for further replies.

5556

Programmer
May 27, 2003
17
0
0
US
I want a command button on my form to show the user a report. I put the code DoCmd.OpenReport "rpt_mileage" and for some reason it prints. How can I get the report up from the form without it printing?
 
this should do it
DoCmd.OpenReport "rpt_mileage",acViewPreview
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top