LarryDeLaruelle
Technical User
Using Access '97 w/SR2.
I have the following code that was working properly until just a few days ago. I checked help and, I think, that I have set it up correctly, but when it hits the rsTemp.Index line it errors:
Set dbTemp = CurrentDb
Set rsTemp = dbTemp.OpenRecordset("tblBase32Intk"
rsTemp.Index = "ClientID"
rsTemp.Seek "=", ClientID
ClientID is a numeric field but is not the primary key on the table being queried (it is indexed (dups OK)).
I have compacted/repaired but still get the error.
I have three references set: VB for Apps; MS Access 8.0 Object Lib; MS DAO 3.51 Object Lib.
Any idea why this would suddenly start acting up?
Thanks. Larry De Laruelle
ldelaruelle@familychildrenscenter.org
I have the following code that was working properly until just a few days ago. I checked help and, I think, that I have set it up correctly, but when it hits the rsTemp.Index line it errors:
Set dbTemp = CurrentDb
Set rsTemp = dbTemp.OpenRecordset("tblBase32Intk"
rsTemp.Index = "ClientID"
rsTemp.Seek "=", ClientID
ClientID is a numeric field but is not the primary key on the table being queried (it is indexed (dups OK)).
I have compacted/repaired but still get the error.
I have three references set: VB for Apps; MS Access 8.0 Object Lib; MS DAO 3.51 Object Lib.
Any idea why this would suddenly start acting up?
Thanks. Larry De Laruelle
ldelaruelle@familychildrenscenter.org