Can't get report to show using 2003 MDE with DBwindow hidden

B

BobbyKny

My database is written in 2003, is used with runtime and an MDE file, and I
hide the database with the checkbox in 'Startup' and use
'Application.RunCommand acCmdAppMinimize' so the users see only the windows I
provide. I run the report and nothing shows. I assume it is trapped in the
DB window. Is there a way to show it without maxing the DBwindow and
minimizing it again on the close of the report?

Thanks,
 
B

boblarson

Yes, for reports you must maximize the application (DoCmd.RunCommand
acCmdAppMaximize) before opening the report. Then, you can use the Minimize
code again in the On Close event of the report to restore it back to the way
you had it.
--
Bob Larson
Access World Forums Super Moderator
Utter Access VIP
Tutorials at http://www.btabdevelopment.com
__________________________________
If my post was helpful to you, please rate the post.
 

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