Difference between revisions of "SET CARRY"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET CARRY=
 
 
 
 
==Class==
 
==Class==
 
Screen Forms
 
Screen Forms
Line 15: Line 12:
  
 
==See Also==
 
==See Also==
[[APPEND]], [[INSERT]], [[SET FORMAT]]
+
[[APPEND]], [[APPEND BLANK]], [[INSERT]], [[SET FORMAT]]
  
  
Line 25: Line 22:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set carry on
 
set carry on
 
use patrons
 
use patrons
append</pre>
+
append</code>
  
  

Revision as of 12:17, 15 April 2009

Class

Screen Forms


Purpose

Enable or disable data carry over to the new record added to the table


Syntax

SET CARRY ON | OFF | (<expL>)


See Also

APPEND, APPEND BLANK, INSERT, SET FORMAT


Description

If SET CARRY is ON then the contents of the previously accessed record are carried over to the next one during the APPEND and INSERT commands. If SET CARRY is ON, the contents of the current record will be included in the new record created with the APPEND BLANK, APPEND BLANK <expN>, INSERT BLANK or INSERT BEFORE commands. Alternatively, when the APPEND or INSERT screens are active, pressing the [CARRY MODE] key toggles CARRY ON and OFF from within the form. By default, CARRY is OFF.

Values for specified fields can be pre-defined in the Applications Data Dictionary with the DEFAULT option. However, these default values will be overwritten if SET CARRY is ON.


Example

set carry on
use patrons
append


Products

Recital Mirage Server, Recital Terminal Developer