previous report appearance

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

When I'm opening a report for different dates and if I
didn't close the previous one it would appear the same
previous report (not a new one).

How could I check whether the previously opened report was
closed or how to open a new one in a separate window?

Thanks,

Alex
 
Thanks a lot.
-----Original Message-----
If SysCmd(acSysCmdGetObjectState, acReport, "nameofreprot)

MsgBox :report is already open"
Else
DoCmd.OpenReport . . .
End If

Jim
.
 

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

Back
Top