General information
Category:
Coding, syntax & commands
>Someone told me to always GO TOP before doing a SEEK as follows:
>
>SEEKID = seekaddress
>SELECT mytable
>SET ORDER TO myid
>SEEK SEEKID
>IF FOUND()
>ENDIF
>
>Should I always put a GO TOP or GOTO TOP before the SEEK SEEKID command?
>I did not think it was necessary. Am I right or am I wrong? Thanks for the info.
I wonder why so many folks use SEEK at all these days. Between LOCATE and SQL and SCAN (none of which require a SET ORDER), why SEEK at all? Just curious, in case I'm missing something. :)
Previous
Next
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