1 of 1 people found this helpful
Whenever you start to create a loop, always include an "exit loop if" step. In this case, you'll only ever exit the loop if the NewsUse = 1 and it is the last record. If the NewsUse does not equal one, which will happen for all the records you want the user to see, there is no way to exit the loop. Your IF needs an ELSE.
go to record next [ next, exit after last ]
exit loop [ true ]
So where do I send the adult beverages / free dinner / trip to the bahamas?
Thank you so much!@
Instead of looping, constrain the found set to only those records that don't have that 1. Faster, simpler and if you get a found set of 0, you know that the user has viewed all records in the set.