I have the following simple script:
For iCount = 0 To CInt(resultLength)-1
NUMREVIEWS = XML.responseXML.selectSingleNode("dsp/result/domain/domain-listing[" & CInt(iCount)& "]"/num-product-reviews).Text
If NUMREVIEWS = "0" Then
Next iCount
End If
Response.write ("Number of Reviews = " & NUMREVIEWS)
Next
What I am trying to do is to advance the "FOR" statment by 1 (add 1 to iCount) if the NUMREVIEWS = "0". If the NUMREVIEWS is NOT equal to "0" then the NUMREVIEWS will be printed and then afterward +1 will be addedd to iCount.
The problem is ASP will not allow to next statments in the code. Can any one help?
Thnaks,
Jeff
For iCount = 0 To CInt(resultLength)-1
NUMREVIEWS = XML.responseXML.selectSingleNode("dsp/result/domain/domain-listing[" & CInt(iCount)& "]"/num-product-reviews).Text
If NUMREVIEWS = "0" Then
Next iCount
End If
Response.write ("Number of Reviews = " & NUMREVIEWS)
Next
What I am trying to do is to advance the "FOR" statment by 1 (add 1 to iCount) if the NUMREVIEWS = "0". If the NUMREVIEWS is NOT equal to "0" then the NUMREVIEWS will be printed and then afterward +1 will be addedd to iCount.
The problem is ASP will not allow to next statments in the code. Can any one help?
Thnaks,
Jeff