?
Solved

Outputting to a single page with RAS InteractiveViewer

Posted on 2004-04-07
5
Medium Priority
?
546 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

650 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