Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using an index and seek

Status
Not open for further replies.

dennis9988

IS-IT--Management
May 25, 2006
1
US
I want to use code such as the following from VBA:

set rs1 = db1.openrecordset("tablename",dbOpenTable)
rs1.index = "index1"
rs1.seek....

but no matter what I try it does not want to let me just open the table and seek. I think the ODBC driver does not have that capability.

I tried DAO and ADO.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top