L
LLFK
I have a standalone form with a page that contains a subform linked to a
query. In order to update the subform data, I created a macro to run several
queries that will ultimately update the query the subform is linked to. In
my macro, I close the main form, run all of the queries and then re-open the
main form with a GoToControl to get it to go right back to the page where the
subform resides. I continue to get an error with my macro that states it
can't run my queries because the table is already in use.
When I manually close the main form and run the macro, it works fine.
Any thoughts?
query. In order to update the subform data, I created a macro to run several
queries that will ultimately update the query the subform is linked to. In
my macro, I close the main form, run all of the queries and then re-open the
main form with a GoToControl to get it to go right back to the page where the
subform resides. I continue to get an error with my macro that states it
can't run my queries because the table is already in use.
When I manually close the main form and run the macro, it works fine.
Any thoughts?