Solved

Outputting to a single page with RAS InteractiveViewer

Posted on 2004-04-07
5
540 Views
Last Modified: 2008-02-01
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.

Thanks,

---code----
        
' Create the Crystal Reports Interactive Viewer
Dim viewer
Set viewer = CreateObject("CrystalReports.CrystalReportInteractiveViewer")
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").ReportSource
viewer.ProcessHttpRequest Request, Response, null
0
Comment
Question by:TommyTupa
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:ladylinet
ID: 10785526
Did you download latest hotfix for RAS?
 
 Lady LInet
0
 
LVL 13

Author Comment

by:TommyTupa
ID: 10786623
Yes I did.
0
 
LVL 13

Author Comment

by:TommyTupa
ID: 10824356
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'.
0
 
LVL 7

Expert Comment

by:ladylinet
ID: 10826087
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
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 10828486
Closed, 500 points refunded.
modulo
Community Support Moderator
Experts Exchange
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question