Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How protect my reports
Message
 
À
15/09/2005 12:51:55
Mk Sharma
Shrishti Solutions
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01049751
Message ID:
01049990
Vues:
13
>but i do not know what size of paper user will use.
>some reports are using custom size paper.
>
>some users using win98.
>some users using win XP.
>some users using win 2000.
>
>warm regards,
>mk.


Are you saying that you do not include the FRX files in the EXE because you need to modify them before printing? If so, that can still be done by including them in the EXE. All you have to do is open the FRX as a table, copy it to a temporary table, modify the temporary table as needed, then run the "temporary" report.
*-- Open the report as a table
USE MyReport

*-- Copy it to a temporary table
lcReport = SYS(2015) + ".frx"
COPY TO (m.lcReport)

*-- Open the report and modify it manually
USE (m.lcReport)
*** Modify the EXPR field of the first record as needed

*-- Close the new temporary report
USE

*-- Run the report
REPORT FORM (m.lcReport) TO PRINTER PROMPT PREVIEW

*-- Erase the temporary report
ERASE (m.lcReport)
ERASE (FORCEEXT(m.lcReport, 'FRT'))
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform