G
Glen Appleton
Hi All!
I'm using a Make Table query to update the data in an external (backend) Jet
database from an external SQL (production) database. I'm using the DAO
CreateIndex method to replace the indexes when the query has completed, but
I've run into an interesting problem.
When I try to update the indexes after the query that replaces the existing
table in the external database, I will receive an error saying that the
index already exists. It was my belief that the Make Table queries
destroyed the indexes when they populated the table, is this not true? Is
there a difference in using a Make Table query on for a table in the local
DB as opposed to an external DB?
I've been able to work around the problem by testing the table after the
query to see if the index exists before trying to append a new one, but it
just seems odd. Maybe it has something to do with the method (DAO) I use to
create the index in the first place, I don't know.
Has anyone else run into this situation, and it is documented somewhere for
reference?
- Glen
I'm using a Make Table query to update the data in an external (backend) Jet
database from an external SQL (production) database. I'm using the DAO
CreateIndex method to replace the indexes when the query has completed, but
I've run into an interesting problem.
When I try to update the indexes after the query that replaces the existing
table in the external database, I will receive an error saying that the
index already exists. It was my belief that the Make Table queries
destroyed the indexes when they populated the table, is this not true? Is
there a difference in using a Make Table query on for a table in the local
DB as opposed to an external DB?
I've been able to work around the problem by testing the table after the
query to see if the index exists before trying to append a new one, but it
just seems odd. Maybe it has something to do with the method (DAO) I use to
create the index in the first place, I don't know.
Has anyone else run into this situation, and it is documented somewhere for
reference?
- Glen