Difference between revisions of "CONTINUE"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=CONTINUE=
 
 
 
==Class==
 
Applications
 
 
 
 
==Purpose==
 
==Purpose==
 
Resume locate search
 
Resume locate search
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[FIND]], [[FOUND()]], [[LOCATE]], [[SEEK]], [[SET FILTER]], [[SCAN]]
+
[[FIND]], [[FOUND()]], [[LOCATE]], [[SCAN]], [[SEEK]], [[SET FILTER]]  
  
  
Line 27: Line 20:
 
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>
Line 34: Line 27:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
[[Category:Table Basics]]
 +
[[Category:Table Basics Commands]]

Latest revision as of 15:15, 10 November 2009

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 Server, Recital