Hi, I'm attempting to output a report into one HTML page using the CrystalReportsInteractiveViewer. I don't want to display the toolbar to allow users to navigate pages. When I set the .IsSeparatePages property to false sometimes I get a 'Catastrophic Error'. Setting the property back to true produces no errors but of course this outputs to HTML one page at a time. Does anyone have any ideas how I can get the HTML to output to one page? Or why sometimes I get 'Catastrophic Errors' and sometimes I don't. I've included my viewer code for your information.
I'm beginning to pull my hair out so any help would be appreciated.
' Create the Crystal Reports Interactive Viewer
Set viewer = CreateObject("CrystalReports.CrystalReportInteractiveViewer")
.Name = "Crystal Reports Interactive Viewer"
.IsOwnForm = True
.IsOwnPage = True
.IsDisplayGroupTree = FALSE
.HasToggleGroupTreeButton = FALSE
.EnableLogonPrompt = false
.IsBestFitPage = true
.IsDisplayToolbar = false
.HasHeaderArea = false
.HasViewList = false
viewer.ReportSource = Session("oClientDoc").ReportSource
viewer.ProcessHttpRequest Request, Response, null