I need help formatting a text portion on a form

Rkreiss@verizon.net] rkreiss at verizon.net
Tue Mar 23 08:39:15 PDT 2010



-----Original Message-----
From: Boaz Bezborodko <boaz at mirrotek.com>
Sent: Tuesday, March 23, 2010 10:58 AM
To: filepro-list at lists.celestial.com
Subject: I need help formatting a text portion on a form

I am starting business with a customer where I have to print out their 
packing slip form my system.  They send me all the information in a file 
which I import into my order system and I need to get some of the 
information onto a form in the format that they use.  One of the fields 
is a message to the recipient that takes a 148 character field and 
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 warp______________________________________
Filepro-list mailing listhtilepro-list

My suggestion would to use filePro's wordwrap function.  This will allow you to format your output as needed.

I am currently generating 5 or 6 form letters for a client this way.  

Richard Kreiss
GCCConsulting


More information about the Filepro-list mailing list