Microsoft VBScript runtime error ' 800a0009' <BR><BR>Subscript out of range: Ɔ' <BR>
The error alone isn't enough information. Would you post some of the code that causes the error?
rsy.open sqlstmt, conn, adOpenStatic<BR><BR> Dim PollOptions()<BR> Redim PollOptions(rsy.RecordCount,2)<BR><BR> Dim iCount, iTotalVotes, strPollName<BR> iCount = 0<BR> iTotalVotes = 0<BR> strPollName = CStr(rsy("Pollq"))<BR> Do While Not rsy.EOF<BR> PollOptions(iCount,1) = CInt(rsy("Votes"))<BR> PollOptions(iCount,2) = CStr(rsy("QuestionText"))
Which line is it giving you the error in? You might want to add some debug code like after creating the recordset, response.write rsy.recordcount and in your loop response.write iCount.