Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Active X viewer (printing in Landscape)

Posted on 2004-09-02
7
Medium Priority
?
375 Views
Last Modified: 2012-06-27
Cr 9.2


Hi,

I know similar questions to this have been asked before but I cannot seem to get my working at all!

I have report that I am calling throught asp pages ( examples laid out by crystal- http://support.businessobjects.com/communityCS/FilesAndUpdates/aspxmps9.exe.asp)

On my Simplsetlogon.asp I have set the paperorientation = 2


<!-- #include file="AlwaysRequiredSteps.asp" -->

<%
session("oRpt").DiscardSavedData
set crtable = session("oRpt").Database.Tables.Item(1)
crtable.SetLogonInfo "COE", "coe", "******", "*******"
'response.write crtable.testconnectivity
%>


<%
Session("oRpt").Report.PaperOrientation = crLandscape
Session("oRpt").ParameterFields.GetItemByName("assesmentid").AddCurrentValue(CDbl(request.querystring("assesmentid")))
%>

This has NO effect.  Does anyone know where I might be going wrong?? Any help would be greatly appeciated.


Many thanks,
Nicky
0
Comment
Question by:NickyNin
[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
  • 2
  • +1
7 Comments
 
LVL 42

Assisted Solution

by:frodoman
frodoman earned 300 total points
ID: 11963523
0
 
LVL 10

Expert Comment

by:ebolek
ID: 11963531
That is how you do it. Look at the placement of the code.
Regards
Emre
0
 

Author Comment

by:NickyNin
ID: 11964269
Thank you for your replies however....

The fix quoted above is so that it prints in Landscape it does not display the report in landscape within the active X viewer. I did download the fix and it has completely broken my printing - now all I get is a blank screen!!!

I need to be able to view the report landscape in the Active X viewer.

Emre - I am not sure what you mean by "Look at the placement of the code" Have I put the code in the wrong place??  I did try it in Alwayrequiredsteps.asp but this did not work either.

If anyone has any other idea I would really appreciate it.

Thanks again,
Nicky
0
Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

 
LVL 10

Accepted Solution

by:
ebolek earned 300 total points
ID: 11964291
check this out. I think it will help you
support.businessobjects.com/library/kbase/articles/c2006136.asp

Regards
Emre
0
 
LVL 101

Assisted Solution

by:mlmcc
mlmcc earned 150 total points
ID: 11970102
Was the report built landscape?

If not I don't think you can force the viewer to be landscape.

mlmcc
0
 

Author Comment

by:NickyNin
ID: 11996724
Yes it was built landscape and the active X viewer simply cuts it off!!

I'll close this for the moment. As I have told the customer it was not possible as of yet.

Thanks!
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 12002533
Glad i could help

mlmcc
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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 …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

597 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