Difference between revisions of "REPLACE AUTOMEM"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Update fields with values stored in correspondingly named memory variables | Update fields with values stored in correspondingly named memory variables | ||
− | |||
==Syntax== | ==Syntax== | ||
REPLACE AUTOMEM | REPLACE AUTOMEM | ||
− | |||
==See Also== | ==See Also== | ||
− | [[CLEAR AUTOMEM]], [[GATHER | + | [[CLEAR AUTOMEM]], [[GATHER]], [[SCATTER]], [[STORE AUTOMEM]], [[USE]] |
− | + | ||
==Description== | ==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. | 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== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
− | + | use customers | |
− | use | + | |
store automem | store automem | ||
− | + | //... | |
− | + | replace automem | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Memory Variables]] | [[Category:Memory Variables]] | ||
[[Category:Memory Variables Commands]] | [[Category:Memory Variables Commands]] |
Revision as of 07:51, 10 February 2012
Contents
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