TommyTupa
asked on
Outputting to a single page with RAS InteractiveViewer
Hi, I'm attempting to output a report into one HTML page using the CrystalReportsInteractiveV iewer. 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.
Thanks,
---code----
' Create the Crystal Reports Interactive Viewer
Dim viewer
Set viewer = CreateObject("CrystalRepor ts.Crystal ReportInte ractiveVie wer")
with viewer
.Name = "Crystal Reports Interactive Viewer"
.IsOwnForm = True
.IsOwnPage = True
.IsDisplayGroupTree = FALSE
.HasToggleGroupTreeButton = FALSE
.EnableLogonPrompt = false
.IsBestFitPage = true
.IsDisplayToolbar = false
.HasHeaderArea = false
.HasViewList = false
End With
viewer.ReportSource = Session("oClientDoc").Repo rtSource
viewer.ProcessHttpRequest Request, Response, null
I'm beginning to pull my hair out so any help would be appreciated.
Thanks,
---code----
' Create the Crystal Reports Interactive Viewer
Dim viewer
Set viewer = CreateObject("CrystalRepor
with viewer
.Name = "Crystal Reports Interactive Viewer"
.IsOwnForm = True
.IsOwnPage = True
.IsDisplayGroupTree = FALSE
.HasToggleGroupTreeButton = FALSE
.EnableLogonPrompt = false
.IsBestFitPage = true
.IsDisplayToolbar = false
.HasHeaderArea = false
.HasViewList = false
End With
viewer.ReportSource = Session("oClientDoc").Repo
viewer.ProcessHttpRequest Request, Response, null
ASKER
Yes I did.
ASKER
I heard back from Business Objects and they think its a bug, so are submitting it to QA. So for future reference for the experts this is how to duplicate the bug:
Environment: Crystal Developer 9.0 + Crystal RAS 9.0
Report: Set up any report with a database login and a subreport
HTML Viewer: Add .isseparatepages = false
Execution: Run the report in RAS. If outputting to HTML error = 'Catastophic Failure'. If outputting to PDF error = 'Login Failed'.
Environment: Crystal Developer 9.0 + Crystal RAS 9.0
Report: Set up any report with a database login and a subreport
HTML Viewer: Add .isseparatepages = false
Execution: Run the report in RAS. If outputting to HTML error = 'Catastophic Failure'. If outputting to PDF error = 'Login Failed'.
Great that you found a solution, even if it is a bug.
Close the question then, so more people will be able to see it...
Lady Linet
Close the question then, so more people will be able to see it...
Lady Linet
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Lady LInet