Solved

Outputting to a single page with RAS InteractiveViewer

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

803 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