Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to export to PDF automatically using VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00783136
Message ID:
00783234
Vues:
18
someone else already answered my question. They suggested that I use RDC, which does work for me in VFP 6. The only other thing I need to figure out is how to pass parameters using RDC. I'll look through your site for the answer to that.

On another subject. I submitted a request to our secretary to order your new crystal book yesterday. Does your book include integration for VFP 6, 7 and 8 as well as Crystal 8.5 and 9 or just the lattest versions?

However, here is the answer to your question. Crystal 8.5 using the following code

crystal.crystalreport ole class

THISFORM.OLEPrint.ReportFileName=(pcDefault+"\"+THISFORM.FormName+".rpt")
THISFORM.OLEPrint.CopiesToPrinter=1
THISFORM.OLEPrint.PrintFileType= ???????
THISFORM.OLEPrint.Destination=(lnDestination)
THISFORM.OLEPrint.PrintReport

As always, thanks for your quick and specific responses. It saves me a huge amount of research time.
Best Regards,
Lee Roy J. Pitre, Jr, AAS, BA, MS
Pitre Computer Consultant & Associates
http://pitres.us
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform