penguinspeaks
Technical User
I am trying to loop through records to see if a value exists. I can make it happen once, but how do I check while looping through the entire table?
Thanks
Code:
con2 = (Int((max-min+1)*Rnd+min))
set info5 = conn.execute("select confirm_ from orders where confirm_ = "&con2&"")
if not info5.eof then
max=9999999999
min=1
Randomize
con2 = (Int((max-min+1)*Rnd+min))
else
con2 = con2
end if