|
-
Nov 11th, 2004, 10:04 AM
#1
Thread Starter
Member
Crystal Report Export to HTML
I am a newbie and need some help with some basic code.
I am using Crystal Reports 8.5 and VB6 (sp6).
I am trying to export a report to html to display on our intranet.
The report works fine in the Crystal Report Designer...there are no paramaters or anything to pass to it.
I want to have this run every couple of hours (without user interaction) so that intranet can display updated info.
I do not have the Crystal Developer version so I am just trying to use the ActiveX Control (not the RDC).
I configured the properties of my ActiveX control and my code works but the output is ugly. It is all one page etc. It doesn't have the navigation links at the bottom like it does if I export from within the designer.
Here is my code:
Private Sub Command1_Click()
Form1.CrystalReport1.ReportFileName = "H:\VB6\SuSched\SuSched.rpt"
Form1.CrystalReport1.ReportFileName = "H:\VB6\SuSched\SuSched.html"
Form1.CrystalReport1.Destination = crptToFile
Form1.CrystalReport1.PrintFileType = crptHTML32Std
CrystalReport1.Action = 1
End Sub
Is there an equivalent to ExportOptions.HTMLEnableSeparatedPages for ActiveX controls?
Any other advice?
Thanks in advance.
Jeff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|