Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print to PDF with filename
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01686210
Message ID:
01686223
Vues:
80
J'aime (1)
I use Foxypreviewer this way:
FUNCTION pdfsave
LPARAMETERS cOutputfile,cReportname
   LOCAL loReport as "PreviewHelper" OF "FoxyPreviewer.App" 
   loReport = CREATEOBJECT("PreviewHelper") 
   WITH loReport as ReportHelper 
        
        .AddReport((cReportname), "NODIALOG") 
        .cDestFile = cOutputfile  &&' Use to create an output without previewing
        .RunReport() 
   ENDWITH 
   loReport = NULL 
ENDFUNC
Best regards

Thomas

****************
Hey all, been a while since i've done much with VFP 9.0.

What I want to do is create a PDF of a VFP report and specify the filename of the PDF programmatically. Surely some of you good programmers have a way or would know how to do that.

Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform