Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0: Fonts in Reports
Message
From
26/12/2001 03:25:50
JMGI Verkoijen
Crystal Clear Software Ltd.
Kampala, Uganda
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00596597
Message ID:
00598103
Views:
28
Dear Sergey

Thanks for your help. I don't know whether I understand.
Why the need to copy the report file to a temporary file?
Are you using the REPLACE command with a variable that the user can set in the configuration?
Do we have to include the temporary report file in the executable or the original?

Thanks for the help.
Hans Verkoijen



>>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 ) ...
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform