Solved

Outputting to a single page with RAS InteractiveViewer

Posted on 2004-04-07
5
537 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now