Difference between revisions of "CONTINUE"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=CONTINUE=
 
 
 
 
==Class==
 
==Class==
 
Applications
 
Applications
Line 27: Line 24:
 
locate for event = "OPERA"
 
locate for event = "OPERA"
 
do while found()
 
do while found()
  display name, event
+
    display name, event
  continue
+
    continue
 
enddo
 
enddo
 
</code>
 
</code>

Revision as of 16:05, 27 April 2009

Class

Applications


Purpose

Resume locate search


Syntax

CONTINUE


See Also

FIND, 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 or FIND is recommended.


Example

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


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer