Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print to PDF with filename
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01686210
Message ID:
01686223
Views:
79
Likes (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
Previous
Reply
Map
View

Click here to load this message in the networking platform