>I import some records into a temporary table "Temp_Products".
>
[quoted text clipped - 20 lines]
>
>How do I get around this? Is there a more appropriate to run an append query?
I adopted the suggested method, but somehow I still cannot delete the Temp
database. What code can I use to determine what process has the table open?
> >I import some records into a temporary table "Temp_Products".
> >
[quoted text clipped - 33 lines]
> probably want to use the method's dbFailOnError argument.
> See Help for details.
Marshall Barton - 28 Mar 2005 23:55 GMT
I don't think there is a way to enumerate the references to
a table. Some detective work may be required to determine
that. Are there any open forms/reports/queries that refer
to the table, possibly indirectly through a query.
One very tedious method to find where the table is being
used would be to rename the table. Then run your app and
each time you get an error because of the missing table, and
if it's a legimate reference, change the reference to the
new name. Eventually, you should find the offending
reference. Ugh!

Signature
Marsh
MVP [MS Access]
>I adopted the suggested method, but somehow I still cannot delete the Temp
>database. What code can I use to determine what process has the table open?
[quoted text clipped - 36 lines]
>> probably want to use the method's dbFailOnError argument.
>> See Help for details.