AlbertAguirre
Programmer
Noob here!
I need to break out of a while loop but cant. How?
CODE:
<%
dim cntr
dim maxrecs
cntr = 0
maxrecs = 5
WHILE not rsFeatured.eof
if cntr = maxrecs then
break (????)
end if
[DO SOMETHING]
WEND
%>
I need to break out of a while loop but cant. How?
CODE:
<%
dim cntr
dim maxrecs
cntr = 0
maxrecs = 5
WHILE not rsFeatured.eof
if cntr = maxrecs then
break (????)
end if
[DO SOMETHING]
WEND
%>