Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bold/Italic in a memo field something I could do in FP 2
Message
 
To
01/06/1998 16:02:07
Jeroen Naus
Harte-Hanks Europe
Hasselt, Belgium
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00103772
Message ID:
00104296
Views:
36
>I have a routine in FP 2.6 that could print a part of the contents of a memo field bolded or italic and the rest normal. I did this using escape codes that triggered the printer. Is there a way in VFP 5 or 6 to do the same and use Windows True Type fonts ?
>
>I tried using the RTF control but it doesn't support page breaks. I tried using Word trough COM, but it is way to slow. The only solution I see at this moment is a Word merge.
>
>Is there anyone that has a better solution ?

Jeroen,

For complex work, Word OLE automation is the way to go. And for simple things you can still use the old VFP report generator. I suppose you're able to chop your memo into several parts. Then it's only a matter to set the font attributes for part 1 and part 2 of your memo that you should put on the report as 2 different fields. The only thing that seems pretty hard to achieve is have part 2 start just where part 1 ends.

José, a neighbor.
Previous
Reply
Map
View

Click here to load this message in the networking platform