Dear all,
if I use the seek method I got error message with error code 3800 - IndexName is not an index in this table.
This message appears although the index exist in the table. If I delete the index in the table, save the table and define the index new than the seek method works.
However, that is no solution since I have to create several tables via VBA. That means I cannot always delete and set the index new.
Is that just a bug or is my code wrong?
I use seek as follows:
RecordsetName.Index = "Nr" 'name of the field in the table
RecordsetName.Seek "=", SeekString
(DAO 3.6)
Thank you in advance
Rec
if I use the seek method I got error message with error code 3800 - IndexName is not an index in this table.
This message appears although the index exist in the table. If I delete the index in the table, save the table and define the index new than the seek method works.
However, that is no solution since I have to create several tables via VBA. That means I cannot always delete and set the index new.
Is that just a bug or is my code wrong?
I use seek as follows:
RecordsetName.Index = "Nr" 'name of the field in the table
RecordsetName.Seek "=", SeekString
(DAO 3.6)
Thank you in advance
Rec