Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing rich text stored in memo field
Message
De
23/02/2007 15:38:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Printing rich text stored in memo field
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01198449
Message ID:
01198449
Vues:
63
Hello everyone,

I have been having problems in printing rich text format from a memo field. I have tried what was listed on Microsoft site,
http://support.microsoft.com/default.aspx?scid=kb;EN-US;246088, it works for a small paragraph, but when you have several pages I have a problem in showing it all. I have the following code:
_rtfFile = SYS(3)+".rtf"

SELECT patterns
LOCATE				&& first record

COPY MEMO patterns.patdietp to &_rtfFile

APPEND GENERAL patterns.patdietpg FROM &_rtfFile CLASS "RICHTEXT.RICHTEXTCTRL.1"

REPORT FORM reportrtf PREVIEW NOCONSOLE
In my report 'reportrtf' I added 'Picture/Active-X Bound Control' to the detail band of the report, and in properties under General tab, I set its FIELD property to 'patterns.patdietpg'. Under 'Print When' tab, I have checked 'Also Print' --'When band content overflows to new page/column'.

I realy apreciate any help or advice for this problem,

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform