Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Report Viewer
Message
 
 
À
27/09/2001 02:15:48
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00561257
Message ID:
00562676
Vues:
28
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
Fil
Voir

Click here to load this message in the networking platform