View Full Version : My report does not open!


Sohaila Taravati
10-15-2002, 02:43 PM
I need to open two reports at the same time. I have the code behind my button like this:

DoCmd.OpenReport "report1", acPreview
DoCmd.OpenReport "report2", acPreview

But my problem is when report1 does not have any data, it deosn't let the other one open (I have the code behind the On No Data on both of my reports).

Now if I reverse them it will print report1 and lets me know that is canceling report2.

DoCmd.OpenReport "report2", acPreview
DoCmd.OpenReport "report1", acPreview

what can I do to prevent this!
:confused:

Sohaila Taravati
10-16-2002, 10:17 AM
Can anyone help!