Hi,
Does anyone know of a way of referencing an index using ADO? I have a front-end Access datbase , with SQL Server 2000 back-end tables. I'm using the following, rstCaleaADO.Index = "Master"
See snapshot of code:
Set conCaleaADO = New ADODB.Connection
With conCaleaADO
.ConnectionString "Provider=SQLOLEDB;_
Server=Snowhite\DDSQLSERVER2000;UID=sa;PWD=christy;Database=CALEATrackDev;"
.Open
End With
Set rstCaleaADO = New ADODB.Recordset
rstCaleaADO.Open "FEE", conCaleaADO, adOpenKeyset, adLockOptimistic
rstCaleaADO.Index = "Master"
I keep getting an error message saying that it is not supported. Is there any way of getting around this?
Thanks in advance.
Does anyone know of a way of referencing an index using ADO? I have a front-end Access datbase , with SQL Server 2000 back-end tables. I'm using the following, rstCaleaADO.Index = "Master"
See snapshot of code:
Set conCaleaADO = New ADODB.Connection
With conCaleaADO
.ConnectionString "Provider=SQLOLEDB;_
Server=Snowhite\DDSQLSERVER2000;UID=sa;PWD=christy;Database=CALEATrackDev;"
.Open
End With
Set rstCaleaADO = New ADODB.Recordset
rstCaleaADO.Open "FEE", conCaleaADO, adOpenKeyset, adLockOptimistic
rstCaleaADO.Index = "Master"
I keep getting an error message saying that it is not supported. Is there any way of getting around this?
Thanks in advance.