J
Jaxxamercy
Hope someone can help this is drving me mad.
I have a form that is based upon a table when I close the table I wish to run
a make table query that overwrites the table on which the form is based. Then
I want to reopen the form to display the new records. This is fine is I do
each step manually. The problem occurs when I try to automate these actions
through macros or code. As follows
I close the form with DoCmd and open the make table query in the same way.
However it would appear that the recordset for the form doesn't close when
the form does as it always returns RT 3211 error.
This really anoying. Can anyone advise how to avoid this? I don't want to use
a second unbound form and I have tried delaying the code but to no avail.
Any help really appreciated!
I have a form that is based upon a table when I close the table I wish to run
a make table query that overwrites the table on which the form is based. Then
I want to reopen the form to display the new records. This is fine is I do
each step manually. The problem occurs when I try to automate these actions
through macros or code. As follows
I close the form with DoCmd and open the make table query in the same way.
However it would appear that the recordset for the form doesn't close when
the form does as it always returns RT 3211 error.
This really anoying. Can anyone advise how to avoid this? I don't want to use
a second unbound form and I have tried delaying the code but to no avail.
Any help really appreciated!