G
Guest
A macro, run from a button on a form, runs a maketable query, re-creating the
table underlying the form. Obviously, with the form open, this is not allowed
as the process cannot lock the table, however, even if I close the form, the
table remains locked.
I can run the sequence manually (close form, run maketable query, open
form), but when I run this as a macro I get an error "The database enginer
ould not lock table 'Table' because it is already in use by another person or
process" even though the macro has justed closed the form.
No other forms are open, no other users are using the database.
How do I get around this?
table underlying the form. Obviously, with the form open, this is not allowed
as the process cannot lock the table, however, even if I close the form, the
table remains locked.
I can run the sequence manually (close form, run maketable query, open
form), but when I run this as a macro I get an error "The database enginer
ould not lock table 'Table' because it is already in use by another person or
process" even though the macro has justed closed the form.
No other forms are open, no other users are using the database.
How do I get around this?