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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL - Index access

Status
Not open for further replies.

9695

Programmer
Nov 17, 2000
2
PT
How can I use an Index with SQL Data Base Access?

cnmSQLServer.Provider = "sqloledb"
cnmSQLServer.Open "driver={SQLSERVER};Server=Server; Database=Aiccopn2;"

rstBancos.Index = "Descricao"
rstBancos.Open "Bancos", cnmSQLServer, adOpenKeyset, adLockOptimistic, adCmdTableDirect

rstBancos.seek txtDescricao

He keeps telling me that there isn’t any Index weed that name ?? But there is... What is wrong ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top