JamesHardiman
MIS
I'm trying to do something which shouldn't be rocket science!
I'm working in an Access Project (.ADP) with a SQL Server database.
I have a table with a compound key (two columns).
I need to find a record. I'm using ADO.
And what I get is:
Error 3251: Current provider does not support the necessary interface for Index functionality
Can it be some difficult just to find a record in a table?
Help, please,
JamesH@sunsail.com
I'm working in an Access Project (.ADP) with a SQL Server database.
I have a table with a compound key (two columns).
I need to find a record. I'm using ADO.
Code:
cn.ConnectionString = "etc"
cn.Open
Set rs = New ADODB.Recordset
rs.CursorLocation = adUseServer
rs.Open "aaRecordProperties", cn, adOpenKeyset, adLockOptimistic, adCmdTableDirect
rs.MoveFirst
rs.Seek Array(obj.Name, prop.Name), adSeekFirstEQ
And what I get is:
Error 3251: Current provider does not support the necessary interface for Index functionality
Can it be some difficult just to find a record in a table?
Help, please,
JamesH@sunsail.com