Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another problem: CONTINUE moves to 1st record.
Message
From
30/07/2001 17:12:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Another problem: CONTINUE moves to 1st record.
Miscellaneous
Thread ID:
00537487
Message ID:
00537487
Views:
51
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
Map
View

Click here to load this message in the networking platform