Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo Fields in Reports
Message
 
To
27/02/2001 12:21:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00480102
Message ID:
00480173
Views:
9
This will remove "duplicate" CR from the memeo in the report:
STRTRAN(STRTRAN(theMemoField, chr(13)+chr(10)+chr(13)+chr(10), chr(13)+chr(10)), chr(13)+chr(10)+chr(13)+chr(10), chr(13)+chr(10))
If you want to remove all CR:
STRTRAN(theMemoField, chr(13)+chr(10), '')
Is this what you wanted?

>I put a character string in a memo field. The user may use the "enter" key when he enters data. The field size for the memo field will hold more than the number of lines in memo field. I am hoping that I can surpress blank lines and reduce the size of the space that is allocated for the memo field. Then the next line of the report will move up to below the last printed line of the memo field.
>
>Must I do this with code, or can I use the report writer somehow?
>
>Thanks for your reply.
Doru
Previous
Reply
Map
View

Click here to load this message in the networking platform