Hi, All
I am trying to use the seek method on a linked tables, but is not working and gives me this weird message:
"Current provider does not support the necessary interface for index functionality"
The database worked fine before, i use the database splitter utility.
Here is the code
Function validatelogin(localuserid As String, floginpas) As Boolean
Dim rst As ADODB.Recordset
Set rst = New ADODB.Recordset
rst.CursorLocation = adUseServer
rst.Open "users", CurrentProject.Connection, adOpenKeyset, adLockPessimistic, adCmdTableDirect
rst.Index = "PrimaryKey"
rst.Seek localuserid, adSeekFirstEQ
Troubleshooting the procedure i got the error message in the last line of the instructions above.
Any help would be appreciated.
thanks
I am trying to use the seek method on a linked tables, but is not working and gives me this weird message:
"Current provider does not support the necessary interface for index functionality"
The database worked fine before, i use the database splitter utility.
Here is the code
Function validatelogin(localuserid As String, floginpas) As Boolean
Dim rst As ADODB.Recordset
Set rst = New ADODB.Recordset
rst.CursorLocation = adUseServer
rst.Open "users", CurrentProject.Connection, adOpenKeyset, adLockPessimistic, adCmdTableDirect
rst.Index = "PrimaryKey"
rst.Seek localuserid, adSeekFirstEQ
Troubleshooting the procedure i got the error message in the last line of the instructions above.
Any help would be appreciated.
thanks