E
Earl Partridge
FP 2000, Windows XP
In a For/Next loop I compare the loop counter to another number, where I
know
there is a match, but it is never recognized. For Example..
ChkNbr = 2
For i = 1 to 5
if i = ChkNbr then
do this
exit for
end if
next
The "ChkNbr" is obtained from a Request.form("MyNumber") entry.
I'm guess the loop counter may be a different type "number". I've tried
converting
both to a string (cStr) and no luck.
In a For/Next loop I compare the loop counter to another number, where I
know
there is a match, but it is never recognized. For Example..
ChkNbr = 2
For i = 1 to 5
if i = ChkNbr then
do this
exit for
end if
next
The "ChkNbr" is obtained from a Request.form("MyNumber") entry.
I'm guess the loop counter may be a different type "number". I've tried
converting
both to a string (cStr) and no luck.