General information
Category:
Coding, syntax & commands
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
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