Exception occurred
Code:
while not objRSS.eof
if myArray(0,ic)=objRSS("op")then e(ic)=e(ic)+1
objRSS.movenext
if myArray(0,icc)=objRSS("op") then ic=ic+1 and icc=icc+1
wend
Error:
"error '80020009'
Exception occurred.
/chall_by_coll.asp, line 69"
I suspect this is happening because the objRSS("op") is placed after the objRSS.movenext and eventually it gets to .eof then the exception occurs.
does anyone know a way of getting round this problem?
myArray contains a list of unique values. I am trying to do a count on the same table to see how many times these unique values occur.
Is there a better way of doing this?
|