Difference between revisions of "SET SEQNO"

From Recital Documentation Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET SEQNO=
 
 
 
==Class==
 
Table Organization
 
 
 
 
==Purpose==
 
==Purpose==
 
Reset sequence numbering to specified number
 
Reset sequence numbering to specified number
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
ZAP, SEQNO()
+
[[CURRSEQNO()]], [[SEQNO()]], [[ZAP]]
  
  
Line 21: Line 14:
 
The SET SEQNO TO <expN> command resets the sequence number of the currently active table to the specified <expN> value.  The next time the SEQNO() function is called, the value returned will be <expN> + 1.  The ZAP command will reset the sequence number to 0.  The next time the SEQNO() function is called, the value returned will be 1.
 
The SET SEQNO TO <expN> command resets the sequence number of the currently active table to the specified <expN> value.  The next time the SEQNO() function is called, the value returned will be <expN> + 1.  The ZAP command will reset the sequence number to 0.  The next time the SEQNO() function is called, the value returned will be 1.
  
This SET COMMAND and the SEQNO() function are only supported for Recital tables.
+
The SET SEQNO command and CURRSEQNO() and SEQNO() functions are only supported for Recital tables.
  
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
use demo
 
use demo
 
set seqno to 2000
 
set seqno to 2000
edit</pre>
+
edit
 +
</code>
  
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Set_Commands]]
+
[[Category:Set_Commands|SEQNO]]

Latest revision as of 15:26, 25 November 2009

Purpose

Reset sequence numbering to specified number


Syntax

SET SEQNO TO <expN>


See Also

CURRSEQNO(), SEQNO(), ZAP


Description

The SET SEQNO TO <expN> command resets the sequence number of the currently active table to the specified <expN> value. The next time the SEQNO() function is called, the value returned will be <expN> + 1. The ZAP command will reset the sequence number to 0. The next time the SEQNO() function is called, the value returned will be 1.

The SET SEQNO command and CURRSEQNO() and SEQNO() functions are only supported for Recital tables.


Example

use demo
set seqno to 2000
edit


Products

Recital Server, Recital