General information
Category:
Coding, syntax & commands
Good question - you don't have to issue GO TOP. SCAN does an implicit GO TOP unless you use SCAN WHILE ... or SCAN REST.
One more common gotcha: the ENDSCAN does an implicit SELECT . So overall, the SCAN is roughly equivalent to:
GO TOP
DO WHILE NOT EOF()
[enter loop commands here]
SELECT [whatever the cursor was when the SCAN was issued]
ENDDO
zahid
>If I use 'scan' ..
>do I need to use' Go top in 'Table' ' ??
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