Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Gestionnaire de rapports & Rapports
I am trying to create the RDC Automation server using the following code.
oApp = CREATEOBJECT("CrystalRuntime.application")
oRep = CREATEOBJECT("CrystalRuntime.Report")
oRep = oApp.OpenReport("C:\Test.rpt")
with thisform
.olecontrol1.ReportSource = oRep
.olecontrol1.ViewReport
endwith
I got These sample from the crystal report knowledgebase. They say that you need to add the crystal report viewer control to the form.
Here is the problem.
In my application, I have a choice of seding the report either to preview, e-mail, disk file or printer. I don't know how to redirect the output. I looked through the 'craxdrt.dll' and found there is a function called 'ExportDestination'. I do not have any documentation on this. If you have documentation can you please sent me those, or is there any place where I can get the documentation.
Any help will be appreciated.
Thanks
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement