Walter Meester
HoogkarspelNetherlands
General information
Category:
Reports & Report designer
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only