Hi All,
As long as I can remember, GoTo was considered bad coding and was to be avoided. I have used them whenever the circumstances seemed to call for it with no known problems.
When stepping through a recordset, once a record has all of the processing needed I may be skipping 20 to 50 lines of code by jumping to the end of the loop and going on to the next record. This seems much faster than setting a variable to cancel and testing several times in code.
Is this old advice that can be safely ignored or have I just been lucky. Does anyone know the origins of this advice?
Thanks,
alr
_____________________________________
There is no rule more invariable than that we are paid for our suspicions by finding out what we expected.
Henry David Thoreau