Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print RTF in frx report
Message
De
12/09/2017 04:46:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01654222
Message ID:
01654236
Vues:
53
Could it be that 64-bit Office is installed?

>In production code I do not use macros, this is just example code for sake of testing. In the meantime I tested the same in Windows XP and Windows 7 and there it does work. So it has to do either with the OS or Office Version.
>
>I could Switch to FoxyPreviewer, but I need to figure out how the RTF data can be passed to the report. I know that FoxyPreviewer supports printing to RTF, but that is not what I mean.
>
>
>>FoxyPreviewer supports printing RTF. Could your problem be that you use macros instead of name expressions? If you have a space in the file name or in its path, macros will fail. That's one of the reasons why I avoid macros wherever possible.
>>
>>
APPEND GENERAL field2 FROM (lcFile) linked CLASS "RICHTEXT.RICHTEXTCTRL.1"
>>
>>>It used to be possible to print RTF text in a report, but for some reason I cannot get it to work anymore. I don't know if that has something to do with Windows 10, but I can recall it was very simple and I can't see why it should not work.
>>>
>>>
>>>APPEND GENERAL field2 FROM &lcFile linked CLASS "RICHTEXT.RICHTEXTCTRL.1"
>>>
>>>or
>>>
>>>APPEND GENERAL field2 FROM &lcFile linked CLASS WORD
>>>
>>>
>>>In the FRX report the Ole Bound General field does not show anything. What could be the problem?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform