Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5.0: Fonts in Reports
Message
 
 
À
27/12/2001 01:48:48
JMGI Verkoijen
Crystal Clear Software Ltd.
Kampala, Uganda
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00596597
Message ID:
00598390
Vues:
22
Hi Hans,

What's wrong with an idea to modify each report before printing?

>Thanks again, Sergey.
>
>So it means we have to supply the user with the report files as external files? We would have liked to supply the executable with a variable for the report font that the user can define at runtime. I guess this is not possible?
>
>If - as you write - the original report format is included in the executable, how can the user print reports according to his own choice of fonts? You see, we are in Uganda and produce an executable file. Our users are all over the world, some would like to use say Armenian Arial font. How can we do that without providing all reports as external files?
>
>Kind regards,
>Hans Verkoijen
>
>>
>>>Thanks for your help. I don't know whether I understand.
>>>Why the need to copy the report file to a temporary file?

>>
>>First, you cannot modify report that's included in exe. Second, it's safer to modify a temp copy.
>>
>>>Are you using the REPLACE command with a variable that the user can set in the configuration?
>>
>>Yes, you'll use user provided info in REPLACE command.
>>
>>>Do we have to include the temporary report file in the executable or the original?
>>
>>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 ) ...
>>>>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform