REPLACE AUTOMEM

From Lianjapedia
Jump to: navigation, search

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