Difference between revisions of "CONTINUE"

From Lianjapedia
Jump to: navigation, search
Line 23: Line 23:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Cursor Functions]]
+
[[Category:NoSQL Commands]]
[[Category:Search Functions]]
+

Revision as of 13:23, 4 February 2013

Purpose

Resume locate search

Syntax

CONTINUE

See Also

FOUND(), LOCATE, SCAN, SEEK, SET FILTER

Description

The CONTINUE command searches for the next record which meets the criteria as specified in the LOCATE command. If the search was successful, the FOUND() function will return .T., otherwise .F.. For large searches, indexing the table and using SEEK is recommended.

Example

use patrons
locate for event = "OPERA"
do while found()
    display name, event
    continue
enddo