G
Graham Mattingley
I am trying to count the records in a database, and make an array from the
answer this is the code
strQuery = "SELECT count(*) FROM resort where island_id= '"&island_drop&"'
;"
Set rsIslandinfo = adoConn.Execute(strQuery)
i = rsIslandinfo("count(*)").Value
** this bit above here works find I have done a response.write to check I
have a number in i
*** I have tryed it with and without the CInt command ***
i=CInt (i)
dim ics (i,2)
I am sure this is possible, what am I doing wrong ??
I just an ERROR 500
Help
Graham
answer this is the code
strQuery = "SELECT count(*) FROM resort where island_id= '"&island_drop&"'
;"
Set rsIslandinfo = adoConn.Execute(strQuery)
i = rsIslandinfo("count(*)").Value
** this bit above here works find I have done a response.write to check I
have a number in i
*** I have tryed it with and without the CInt command ***
i=CInt (i)
dim ics (i,2)
I am sure this is possible, what am I doing wrong ??
I just an ERROR 500
Help
Graham