i have a temp table that is recordsource for a form, and I want to set command button that rebuilds the temp table and re-opens form.
When I close the form by code or Macro, get runtime 3211 error that says 'table in use, cannot be deleted'.
When I close the form by x-ing out, then run the query - it runs fine.
(also added a 10 second pause, in case form needed more time to close out and release locks)
not sure how to get around this?