Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan with NO code, what does it do?
Message
From
07/05/2003 09:05:18
 
 
To
06/05/2003 16:38:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00785588
Message ID:
00785740
Views:
15
Hi Claude,

SELECT vitems

cOldOrder = ORDER()
SET ORDER TO TAG ordkey

SEEK Order_List.cordno

&& another bad help doc, if uses only WHILE clause scope is REST
SCAN WHILE vitems.clordno = Order_List.cordno
ENDSCAN

this is like this code

SELECT vitems

LOCATE FOR vitems.clordno > Order_List.cordno

but this is slow ( also with RushMore )

Best solution is this

SELECT vitems

cOldOrder = ORDER()
SET ORDER TO TAG ordkey

SEEK Order_List.cordno
COUNT WHILE vitems.clordno = Order_List.cordno
and this set _TALLY ( it can be useful )

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform