Hi,
I have this code that is returning run-time error 7004. The rowset is not
bookmarkable.
Cn.CursorLocation = adUseServer
Set iWebOrdLookup.ActiveConnection = Cn
iWebOrdLookup.CommandType = adCmdStoredProc
iWebOrdLookup.CommandText = "dbo.GetWebOrders_sp"
Set rsWebOrd = New ADODB.Recordset ' ?
rsWebOrd.CursorType = adOpenKeyset ' I have tried this ?
rsWebOrd.LockType = adLockOptimistic ' I have tried this ?
Set rsWebOrd = iWebOrdLookup.Execute
If rsWebOrd.BOF = True And rsWebOrd.EOF = True Then
MsgBox "No records match the Request Number ", vbOKOnly, "Message"
Exit Sub
Else
Set grdGetWebOrders.DataSource = rsWebOrd
End If
can someone advice please, I have looked at the knowledge base, and could
not figure it out.
Thanks
Dib
Val Mazur (MVP) - 27 Apr 2005 01:17 GMT
It means that provider does not provide bookmarks functionality for this
type of cursor. try to open recordset on a client side.

Signature
Val Mazur
Microsoft MVP
http://xport.mvps.org
> Hi,
>
[quoted text clipped - 24 lines]
> Thanks
> Dib
Dib - 27 Apr 2005 14:25 GMT
Thanks
it worked
Dib
> It means that provider does not provide bookmarks functionality for this
> type of cursor. try to open recordset on a client side.
[quoted text clipped - 27 lines]
> > Thanks
> > Dib