Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word wrap in a printout
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00183280
Message ID:
00183456
Views:
20
>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

You could use the ? statement with the width function:

? memofield FUNCTION 'V40'
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform