Check out SET MEMOWIDTH, MLINE(), and MEMLINES().
>Hi,
>
>I'm trying to print the contents of an editbox(memo field) to a 40 column printer. I'm printing directly from code, not the report designer.
>My question to anyone who can help is how can I get the last word in each line to wrap to a new line, just like the editbox does, but in a printout.
>So to print the value of the memo field, I want to check character count and break it into the most words that can fit into 40 character lines.
>
>TIA,
>Allen