I need help formatting a text portion on a form

Kenneth Brody kenbrody at spamcop.net
Tue Mar 23 09:21:35 PDT 2010


On 3/23/2010 10:58 AM, Boaz Bezborodko wrote:
[...]
> requires that it be formatted into a 37-character by 4 line note on the
> form with proper word-wrap.
>
> I was going to use a memo field so that I can use FP's embedding-object
> functions to do the formatting.  But I
> m having trouble getting the information into the memo field.  I am
> using OPEN(), WRITELINE(), and CLOSE() to create a temporary file and
> then issue the command MEMO xx IMPORT "<filename>".  When I do this I
> get a general protection fault.and it craps out.
>
> Am I doing something wrong?  Should I be doing this a different way?

You're taking the long route.

Read up on the WORDWRAP() function.

-- 
Kenneth Brody


More information about the Filepro-list mailing list