Difference between revisions of "REPLACE AUTOMEM"

From Lianjapedia
Jump to: navigation, search
Line 22: Line 22:
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Declaring Variables and Arrays]]
 
[[Category:Declaring Variables and Arrays]]
[[Category:Data Commands]]
+
[[Category:Databases]]

Revision as of 11:00, 4 February 2013

Purpose

Update fields with values stored in correspondingly named memory variables

Syntax

REPLACE AUTOMEM

See Also

CLEAR AUTOMEM, GATHER, SCATTER, STORE AUTOMEM, USE

Description

The REPLACE AUTOMEM command updates fields in the current record of the active table. It assumes the existence of memory variables that match the fields in terms of name, data type and size. Such memory variables can be generated automatically using the STORE AUTOMEM or USE…AUTOMEM commands.

Example

use customers
store automem
//...
replace automem