Difference between revisions of "MEMOWRITE()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to write to an external file from a memo field
 
Function to write to an external file from a memo field
 
  
 
==Syntax==
 
==Syntax==
 
MEMOWRITE(<filename>, <memofield> | <expC>)
 
MEMOWRITE(<filename>, <memofield> | <expC>)
 
  
 
==See Also==
 
==See Also==
[[MEMOREAD()]], [[HARDCR()]], [[MEMLINES()]], [[MEMOEDIT()]], [[MEMOLINE()]],  [[MEMOTRAN()]], [[MLCOUNT()]], [[MLINE()]], [[SET MEMOSOFTCR]], [[SET MEMOWIDTH]], [[SET MEMOWINDOW]], [[TEXTEDIT()]]
+
[[MEMOREAD()]], [[MEMLINES()]], [[MEMOLINE()]],  [[MEMOTRAN()]], [[MLCOUNT()]], [[MLINE()]], [[SET MEMOWIDTH]]
 
+
  
 
==Description==
 
==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.
 
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==
 
==Example==
Line 22: Line 18:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Memos]]
 
[[Category:Memos]]
 
[[Category:Memos Functions]]
 
[[Category:Memos Functions]]

Revision as of 05:15, 10 February 2012

Purpose

Function to write to an external file from a memo field

Syntax

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

See Also

MEMOREAD(), MEMLINES(), MEMOLINE(), MEMOTRAN(), MLCOUNT(), MLINE(), SET MEMOWIDTH

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)