I
insomniux
Hi,
I need to open a report in preview mode from a popup window in modal
mode. Since the report can be openen from more than 1 form, I prefer to
handle making invisible and visble from within the calling form (in
previous discussions the set visible=true command is in the
report.OnClose event).
When I use the next code, the form is set to visible directly after the
report is opened:
Me.Visible = False
DoCmd.OpenReport "FormName", acViewPreview
Me.Visible = True
Is there a way to let the module wait until the report is closed again
(like the execution stops at an MsgBox 0).
I use MsAccess 2000
I need to open a report in preview mode from a popup window in modal
mode. Since the report can be openen from more than 1 form, I prefer to
handle making invisible and visble from within the calling form (in
previous discussions the set visible=true command is in the
report.OnClose event).
When I use the next code, the form is set to visible directly after the
report is opened:
Me.Visible = False
DoCmd.OpenReport "FormName", acViewPreview
Me.Visible = True
Is there a way to let the module wait until the report is closed again
(like the execution stops at an MsgBox 0).
I use MsAccess 2000