Hi
could someone tell me why the following code gives me the error "object does not support this funtion"
Set td = dbs.TableDefs("St12InvTemp"
For Each Idx In td.Indexes
td.Indexes.Delete Idx
Next Idx
I am trying to delete all the indexes from a table (obviously). Maybe at the same time you can tell me why access is creating indexes on fields when I do an import with a spec and ask for no indexes.
???
thanks
dax
could someone tell me why the following code gives me the error "object does not support this funtion"
Set td = dbs.TableDefs("St12InvTemp"
For Each Idx In td.Indexes
td.Indexes.Delete Idx
Next Idx
I am trying to delete all the indexes from a table (obviously). Maybe at the same time you can tell me why access is creating indexes on fields when I do an import with a spec and ask for no indexes.
???
thanks
dax