Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error Message: Rowset does not support fetching backward.

Status
Not open for further replies.

briancostea

Programmer
Apr 21, 2005
82
US
I am not sure why I keep getting this message. I set the Lock and CursorTypes to 3. Any help would be appreciated.

Set rsAdd = Server.CreateObject("ADODB.Recordset")
rsAdd.LockType = 3
rsAdd.CursorLocation = 3
rsAdd.CursorType = 3
Set rsAdd = adoAdd.Execute(strSQL)

If Not rsAdd.EOF Then
rsAdd.MoveLast
End If

Thanks - Bri
 
you need to open the recordset rther than execute it in this case
so it would look like

Set rsAdd = Server.CreateObject("ADODB.Recordset")
rsAdd.LockType = 3
rsAdd.CursorLocation = 3
rsAdd.CursorType = 3
rsAdd.open strSQL


}...the bane of my life!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top