Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement