report form does not appears

adaniele

Registered User.
Local time
Today, 15:00
Joined
Jul 18, 2005
Messages
176
hi guys, once again i need your hlp.
i created a db which hides the access environment using the following code when the login form is open:
Code:
loX = apiShowWindow(hWndAccessApp, 0)

mi problem is:
i have a reports menu, where the user can select a report from a combo.
then they press the view to see the report but it never comes.

here is the code that calls the report:
Code:
                stDocName = "Rcantoexpire"
                DoCmd.OpenReport stDocName, acViewPreview, acWindowNormal

the popup and modal options are in YES. for all forms, and the allow design changes is in design view only.

any hlp?

thx very much 4 your time and hlp, max
 
To view a report when you have hidden the access app window, then you have to make it visible to view the report and then set it back to hidden when the report closes. Reports won't show otherwise.
 
solved

thx very much boblarson. excellent advise.
max.
 

Users who are viewing this thread

Back
Top Bottom