TheCandyman
Technical User
I am trying to get recordset info to move to getrows because of the increase in speed, but i seem to be having some issues with it. the record set pulls 80 records, which i can loop through just fine. When i through the info into an array i think i'm messing something up there.
Output
It shows it only has 2 rows, hence the Booths 1, What am i doing wrong with this getrows??
Code:
SQL="SELECT reg_id, booth_assigned FROM tbl_boothinfo WHERE booth_assigned IS NOT NULL"
rs.open SQL,Conn,0,2,1
If not rs.eof Then
BoothArray = rs.GetRows()
BoothRecLast = UBound(BoothArray)
response.write "Booths:" &BoothRecLast& "<br>"
For i=0 to BoothRecLast
response.write " " &booth& "-" &BoothArray(0,i)& " " &BoothArray(1,i)& "<br>"
Next
End If
Code:
Booths:1
-16
-17 231
It shows it only has 2 rows, hence the Booths 1, What am i doing wrong with this getrows??