General information
Category:
Coding, syntax & commands
Title:
Another problem: CONTINUE moves to 1st record.
Hi all:
I have this code:
SELECT TABLE-A
GO TOP
LOCATE FOR Amt<>0
DO WHILE NOT EOF()
STORE Amount TO xAmt
STORE Number TO xNbr
SELECT TABLE-B
LOCATE FOR Field1B=xNbr
REPLACE Field2B WITH xAmt
SELECT TABLE-A
CONTINUE && At this point, CONTINUE moves to the first record in TABLE-A
IF EOF()
EXIT
ENDIF
ENDDO
According to HELP, CONTINUE should resume the search starting at the current record, once TABLE-A is reselected, but instead, it goes to Record 1.
Is this another bad case of bad reindexing?
Thanks in advance for your time.
Ulises
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only