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 ?
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 ?