-----Original Message-----
From: Tom Grimshaw
Subject: Re: While loop problem
G'day Frank,
The label being inside a while loop will sometimes produce the error you
described.
-------------------------------------------------------
Thanks Tom for the direct response to my question.
All of you had worthwhile suggestions. I think, however, I am going to
stick with the WHILE Loop and use BREAK. There is only one FETCH required.
There is some prior code that predefines the variables and determines if
there are any rows in the table. Also, I was trained (by Dr Votta 32 years
ago) to avoid GOTO as much as possible, especially GOTO's that refer to
LABELS prior to the GOTO. It will probably need to read a lot more code
with a GOTO loop then it would with a WHILE loop.