Function to write to an external file from a memo field
MEMOWRITE(<filename>, <memofield> | <expC>)
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.
// To transfer company history notes use prospect memowrite(tmpnam() + ".txt", comp_hist)