Dialog Box Closes

G

Guest

I have a simple form where the user enters a name and two dates. A small
report comes to screen. When the user closes the report, the dialogue box
also closes. How can I keep the dialogue box open until the user exits using
the "X" in the upper right-hand corner?

Thank you!
 
A

Arvin Meyer [MVP]

Are you sure that the dialog box is closing and not just hiding? Click on
the Window menu and see if it is listed or the "unhide" menu item is active.

If it truly does close, there is code in the report closing it. Locate that
code in the report and comment out the line that closes the dialog form. If
there's no code there, it must be in the button that opens the report.
 
G

Guest

Hi, Arvin -

Found it! Thank you!

Arvin Meyer said:
Are you sure that the dialog box is closing and not just hiding? Click on
the Window menu and see if it is listed or the "unhide" menu item is active.

If it truly does close, there is code in the report closing it. Locate that
code in the report and comment out the line that closes the dialog form. If
there's no code there, it must be in the button that opens the report.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top