MEMOWRITE()

From Recital Documentation Wiki
Revision as of 11:30, 23 March 2009 by Yvonnemilne (Talk | contribs)

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

Class

Memos


Purpose

Function to write to an external file from a memo field


Syntax

MEMOWRITE(<filename>, <memofield> | <expC>)


See Also

MEMOREAD(), HARDCR(), MEMLINES(), MEMOEDIT(), MEMOLINE(), MEMOTRAN(), MLCOUNT(), MLINE(), SET MEMOWIDTH, SET MEMOWINDOW, TEXTEDIT()


Description

The MEMOWRITE() function writes an external text file <filename> from the specified field or character string. The <expC> is a character expression that returns a valid memo field name. MEMOWRITE() returns .T. if the operation was successful.


Example

// To transfer company history notes
use prospect
memowrite(tmpnam() + ".txt", comp_hist)


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer