Want Access Report to show on top of popup form

I have a popup form where users have the option of clicking a cmd that brings up a related report. unfortunately, the report shows up under the popup and it is necessary to close the popup to see the report.

What I would like to happen is:
1) users click cmd, report appears on top of the popup
2) users views report, closes
3) popup is visible again

I don't think that I can have the popup close and reopen as the popup is based on some criteria on another frm that would probably be complicated to recreate if it had to be opened again.

Ideas?

mama
mamadouthiamAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Rey Obrero (Capricorn1)Connect With a Mentor Commented:

when you open the report, hide the popup form

docmd.openreport "x"
me.visible=false


in the close event of the report make the popup form visible

private sub report_close()
forms.nameofform.visible=true
end sub
0
 
mamadouthiamAuthor Commented:
capricorn1,


Excellent - thanks.

mama
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.