Hello! I'm receiving an error message after I try to make a sticky poll "un-sticky".
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'cint'
/forum/post_info.asp, line 463
This is what I have on that line:
" ReDim txtAns(CInt(count))"
And the whole poll mod coding section:
' ######################### Poll Mod ########################
if Request.Form("poll") = "1" then
count = Request.Form("count")
ReDim txtAns(CInt(count))
For i = 1 To CInt(count)
if trim(Request.Form("answer" & CStr(i))) <> "" then
txtAns(i) = chkString(Request.Form("answer" & CStr(i)),"SQLString")
else
txtAns(i) = ""
end if
Next
end if
' ###########################################################
Any help is greatly appreciated! Thanks!