Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0: Fonts in Reports
Message
 
 
To
20/12/2001 04:28:50
JMGI Verkoijen
Crystal Clear Software Ltd.
Kampala, Uganda
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00596597
Message ID:
00596709
Views:
27
>We supply an executable file to our customers that includes more than 200 report templates. We want our users to be able to choose a specific font for all the reports. However we cannot put this in a variable and replace the Fontface field in all FRX reports with this variable before compiling. This doesn't work. Is there another solution besides supplying all report files as external files?
>

You can keep reports included in the exe but before using any of it, copy it to the temorary file, change font and print. Something like
lcTempRepName = SYS(2015)
USE myreport.frx
COPY TO (lcTempRepName + ".frx")
USE (lcTempRepName + ".frx")
* Change font
REPLACE ...
USE
REPORT FORM (lcTempRepName ) ...
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform