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

Form Prints Instead of Report

Status
Not open for further replies.

mkallover

Programmer
Feb 6, 2008
88
US
In a database I am developing I've got a form with a button that opens a report in preview mode. Both the form and the report have their "Pop up" properties set to yes and their "Modal" properties set to no.

When the report window is active and I click the Print button on the Access toolbar the form in the background prints instead of the report.

Can anyone tell me why that is happening?
 
I guess I should mention that this is the OnClick command that opens the report:

Code:
DoCmd.OpenReport "rptProjectStatus", acPreview, , "[CPOProjectNum] = '" _
        & Me.CPOProjectNum & "'"
 
That's odd! Does it happen all the time, eg if you reboot, reopen the prog, and try again?

What happens if you change the form's Popup property to No?

Max Hugen
Australia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top