Serial coding

  • Thread starter Thread starter kenrav
  • Start date Start date
K

kenrav

I have some code that opens a report and then displays a msgbox.
Unfortunately, the report opens and then the msgbox opens on top of it. Is
there a way to code it so that the msgbox doesn't open until after the report
is closed?
 
kenrav said:
I have some code that opens a report and then displays a msgbox.
Unfortunately, the report opens and then the msgbox opens on top of it.
Is
there a way to code it so that the msgbox doesn't open until after the
report
is closed?

If using A2003 or later, specify acDialog in the OpenReport's windowmode
parameter. This prevents any code from executing while the report is open.

Or you could open the msgbox in the report's close event.
 
Back
Top