cursor type error

Results 1 to 2 of 2

Thread: cursor type error

  1. #1
    Join Date
    Dec 1969

    Default cursor type error

    help anyone!:)<BR>what&#039;s wrong with this code?<BR><BR> set fs = server.createobject("ADODB.RECORDSET")<BR> f = "select * from tblbasket order by " & order1<BR> fs.cursortype = 3<BR> f, conn<BR> count = fs.recordcount<BR> response.write count<BR><BR>The thing is, I dont want to use the numeric constant for the cursortype, I want to use "adopenstatic" but whenever i replace the numeric constant with "adopenstatic" i get a returned value of "-1". Why is this so?

  2. #2
    Join Date
    Dec 1969

    Default RE: cursor type error

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts