A
Al Camp
I would like to open a report, and when the report is "closed",
I'd like to open a query.
I have this code:
DoCmd.OpenReport "rptMyReport", acViewPreview
DoCmd.OpenQuery "qryMyQuery"
When the code runs, the report opens in preview, and is
immediately covered over by the query opening.
Is there a way to keep the query from running until the report is
closed. (I'd prefer not to code the opening of the query in the
Report Close event, as other functions use this report also.)
Thanks in advance,
Al Camp
I'd like to open a query.
I have this code:
DoCmd.OpenReport "rptMyReport", acViewPreview
DoCmd.OpenQuery "qryMyQuery"
When the code runs, the report opens in preview, and is
immediately covered over by the query opening.
Is there a way to keep the query from running until the report is
closed. (I'd prefer not to code the opening of the query in the
Report Close event, as other functions use this report also.)
Thanks in advance,
Al Camp