COPY MEMO

From Recital Documentation Wiki
Revision as of 15:20, 10 November 2009 by Helengeorge (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Copy a memo field into a file


Syntax

COPY MEMO <memo fieldname> TO <filename> [ADDITIVE]


See Also

APPEND MEMO, MEMOREAD(), MEMOWRITE(), SET MEMOFORMAT


Description

The COPY MEMO command copies the contents of a single memo field into a file. The <memo fieldname> of the current record in the active table is copied to the file specified by <filename>. If no file extension is specified, '.txt' is assumed.

ADDITIVE

The optional ADDITIVE keyword causes the memo to be appended to the end of the text file. Without the ADDITIVE keyword, any existing text will be overwritten.


Example

seek "JimL"
do while emp_code = "JimL"
    copy memo notes to comments additive
    skip
enddo


Products

Recital Server, Recital