A
Al Camp
Hello all,
I posted this question previously, but would appreciate any
further assistance anyone could give.
In Access2K I want to open a report in preview mode, and when
the user closes the report, I want to open a table for editing,
via a query.
However, the report opens in preview... and the query opens
right on top of it!
My Code:
DoCmd.OpenReport "rptMyReport", acViewPreview
DoCmd.OpenQuery "qryMyTableEditQuery"
How can I prevent the query from opening over the report?
I tried placing a msgbox after the report that said "Opening
Table for Edit" hoping that would stop the query from opening,
but it too popped up over the report!
I'd prefer not to use coding on the report OnClose event,
unless... there is no other reasonable solution.
Thanks in advance,
Al Camp
I posted this question previously, but would appreciate any
further assistance anyone could give.
In Access2K I want to open a report in preview mode, and when
the user closes the report, I want to open a table for editing,
via a query.
However, the report opens in preview... and the query opens
right on top of it!
My Code:
DoCmd.OpenReport "rptMyReport", acViewPreview
DoCmd.OpenQuery "qryMyTableEditQuery"
How can I prevent the query from opening over the report?
I tried placing a msgbox after the report that said "Opening
Table for Edit" hoping that would stop the query from opening,
but it too popped up over the report!
I'd prefer not to use coding on the report OnClose event,
unless... there is no other reasonable solution.
Thanks in advance,
Al Camp