Seeting Custom Page in Crystal Report 2008 Issue

We were using crystal report from a long time, our application uses crystal report (version 11 & 12)  & Visual Studio (VS 2008) I am using a separate crystal report 12 not the version coming with VS 2008. and recently we upgrade our application from VS 2005 to VS 2008 and upgrade crystal report from 11 to 12, The problem is we print a report in a custom page (height 20.40 cm  , width 38.10 cm) we use a dot matrix printer Epson LQ 2090 and the page orientation is portrait  and the report prints fine In crystal report 11 without any issues, but after we upgrade to crystal report 12 we are unable to get the printout in portrait even we save the crystal report page with the custom page still it?s prints in landscape. 
The issue is in crystal report page setup when we select landscape  the horizontal  = 38.10 cm & vertical = 20.40 cm but since I print the report portrait when I change it portrait the values change into Horizontal = 20.40 & vertical = 38.10 but that?s not needed because our printer & the page is capable of printing 38.10 cm wide and 20.40 height , I don?t understand why the values get change when we change the page orientation it didn?t happen in crystal report 11.

Hi, Rodney;
I believe there was a known issue in the released version of CR 2008. Install the Service Pack 0 for CR 2008, that should take care of the issue.
https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip
Regards,
Jonathan

Similar Messages

  • How to limit the no of records per page in crystal reports 2008

    I have to limit the number of records =10 per page in crystal reports 2008.
    Any help appreciated.

    Hi,
    1. Open the report in Design View
    2. Right click on the Details section and select Section Expert
    3. Make sure the Details section is selected in the Section Expert dialog box. goto paging tab
    Check the box that says u201CNew Page Afteru201D
    4. Click the formula editor button to the right of the checkbox.
    5. Enter the following formula
    if Remainder (RecordNumber, 10) = 0 then true else false
    6. Click Save and Close and then click OK.
    If you run the report it should break after each 10 rows.
    @Sri
    Edited by: Sri kamesh on Jun 22, 2011 1:50 PM

  • First Page blank -Crystal Reports 2008 Service Pack 1 install issues

    Hi,
    After installation of  Crystal Reports 2008 Service Pack 1 - Redist Install on Web server. First page of all the reports are blank .But when next page is clicked next page displays information ,then previous page the report displayed.
    On loading the first page of the report is blank.
    The report is fine in Crystal reports
    After navigating to the second page - the data on the second page appears with no issues -
    Then Navigate back to the first page then the first page data appears.
    Thanks in advance .
    Regards
    Prakash

    Just to clarify why this needed to be done. The CR msm and msi files install the correct files into a bin directory. The bin directory is specific to the version of Crystal Reports. Also, the viewer files are installed into the default web site aspnet_client folder. Thus if an application is installed into a custom website, you will have issues, such as red X-es instead of images, errors, failure to load report, etc. For more documentation on this issue see these articles:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a5e80
    Ludek

  • Can I have a SQL statement in a Custom Function in Crystal Reports 2008

    I'd like to create a custom Crystal Reports function which does a database lookup. Is this possible? In the pseudo code below "v_le_afe_xref" is a dataource in the report.  A syntax check fails on the select.
    Function legal_entity_co (old_co AS number) AS number
    SELECT v_le_afe_xref.NEW_BURKS FROM v_le_afe_xref WHERE old_co = v_le_afe_xref.OLD_BURKS
    END FUNCTION
    Thanks.

    Hi David,
    Not sure where you are trying to use the function but CR doesn't support Functions directly, this changes so try Service PAck 3 to see if it's been added. Try using a SQLExpression, and do not include a SELECT in the SQL or using a Command Object.
    You may be able to define it on the server and then call it from CR using a Command also.
    Thank you
    DOn

  • Page header plus page footer too large for the page in crystal report 2008.

    Hi,
    when we selecting pieview and print after entering paramter it's showing error: page header plus page footer too large for the page. error in File.rpt page header or page footer loanger than page. and it's not showing print layout format if i connect another printer it's showing layout designe. and some times it's showing letter formate and if i give print it's taking default lamdscape but we setup defual setup for printer 10*12 inches in particular printer.please guide me how we can solve this issues.
    regds,
    samapth

    This is a really hard post to read. See if you can take a bit of time to reword it, but one thing I do understand is that you are getting this error:
    page header plus page footer too large for the page.
    Typically, you can trust that if the error is thrown, it is true. E.g.; this is not one of those errors that says one thing, and means another. I suspect that you have some field(s) in the header(s) that grow, depending on the data. If there is too much data or the data is too long ( a text for example), the error will be thrown. To resolve this, see if placing the field(s) into a group footer / header will help.
    Ludek

  • How to limit row number per group without change new page in crystal report

    Hi All Expert,
    Is there any way to limit row number per group without change new page in crystal report 2008. The reason i do that is due to customer using printer EPSON LQ 300 (dot matrix) always will print in landscape if detech my layout in landscape. Because they need the record always print in 1 page (Letter size) for 2 groups and each group must show 5 records. Example:
    But, in CR2008, if you set the row per group from group section expert, definitely it will change to new page, but I do not want it change to new page. Any Idea?
    In one page (Letter size):
    Group Name: Customer-ABC
    NO  INVOICE  AMOUNT
    1)   INV001     USD100
    2)   INV002     USD100
    3)   INV003     USD100
    4)   INV004     USD100
    5)   INV005     USD100
    Group Name: Customer-ABC
    NO  INVOICE  AMOUNT
    6)   INV006     USD100
    7)   INV007     USD100
    8)   INV008     USD100
    9)   INV009     USD100
    10)  INV010     USD100

    Hi Angie.....
    I guess it is not possible.
    Because if you have one common group for all the 10 records then in one page it will show 10 records under one group.
    I mean i think it is not possible but m not completely sure......
    Lets wait for expert advise....
    Regards,
    Rahul

  • Crystal Report 2008 / JavaScript hyperlink formula/ Issue

    Hi,
    We've developed the Crystal Report using the Crystal Reports 2008 software & integrated it in asp.net web page and also deployed in IIS web server. We have a requirement like opening the sub report in a new window. We have integrated the sub report also in a asp.net web page & passing the parameters in URL & acheived it..
    For the above, we have used JavaScript code like "javascript:window.open('SubReport.aspx','...','..' ...)" in the hyperlink formula field of main report. It works fine while running using VS 2005 in the development box.
    But in production serer (Windows 2003 server), the JS URL in the formula field is not working properly. Instead , it is rendered as a drill down JS url. Like javascript:bobj.event.publish('drilldown',........)
    Can you please help us to resolve this issue?
    (OR) Do we have any other approach to open the web page in new window from CR (same like a popup window)
    Thanks
    Jeyakumar
    Edited by: Jeyakumar Seenivasagam on Nov 21, 2008 12:02 PM

    I understand that the point of this is to allow the URL link to open the Subreport.aspx page in a new window. This can be problematic due to cross-site scripting restrictions. A few years ago we found that it was possible for report writers to add JavaScript to reports. This isn't a problem if the report writers are honest and nice. However, it is possible for JavaScript to be malicious so that ability to include JavaScript was turned off when the app uses our webform viewers. There may be a way to turn it off in the registry though. This is documented for CR XI r2 [here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do].
    I am not sure if this reg key works for the .NET viewer, though the note specifies DHTML and .NET InfoView, so CR should work also. As you are using CR 2008, I suspect the key would be:
    HKLMSoftwareBusiness ObjectsSuite 12.0Crystal Reports
    You will most likely have to add the Export folder, then add the HTML folder, then add the EncodeHTMLForSingleLineFieldObjects and set it to "no".
    Please note that this is a hack / workaround found for CR XI r2. The functionality you are looking to exploit was removed for a reason. As such if the above does not work for CR 2008, it will not be considered to be a "bug" and we will not be able to send this to R&D for a resolution.
    Ludek

  • Unable To Print or Access Page Setup in Crystal Reports 2008

    I have Win 7 32 bit, and installed Crystal Reports 2008 last week (v12.0.0.683 from the Help window).
    Every time I open a report, and from the Preview tab clicking File -> Print, or File - > Page Setup, I immediately receive a Windows message that "Crystal Reports has stopped working".  After a few seconds, another Windows message displays "Crystal Reports has stopped working - a problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available".  Then Crystal completely closes.
    I downloaded sample reports from the BO website, and still receive the error, so I don't think it's the report.
    When I view the Event Log, I see the following:
    Faulting application name: crw32.exe, version: 12.0.0.683, time stamp: 0x47c8be9a
    Faulting module name: ntdll.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdadb
    Exception code: 0xc0000374
    Fault offset: 0x000c283b
    Faulting process id: 0x94
    Faulting application start time: 0x01cc1fc304e98ecd
    Faulting application path: C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crw32.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: 3cfc99e6-8bb8-11e0-b8ef-00248122792c
    I have uninstalled and reinstalled CR 2008 multiple times and continue to receive the same error.  I tried updating to SP1 (Version 12.1.0.892 Incremental) but I receive the following error: "A BusinessObjects product at a lower patch level is detected.  The installation cannot continue.  Please update all installed products to the SP1 patch level, then restart this installation".
    Need to print my reports - any ideas?

    Sorry busy on Support cases and they take precedence over this community forum.
    Very interesting....
    In a test application I use I have this routine to get the local printers:
    private void frmMain_Load(object sender, System.EventArgs e)
         if (System.Drawing.Printing.PrinterSettings.InstalledPrinters.Count > 0)
              foreach(String myPrinter in System.Drawing.Printing.PrinterSettings.InstalledPrinters )
                   cboCurrentPrinters.Items.Add(myPrinter);                         
              cboCurrentPrinters.SelectedIndex = 0;
         else
              rdoCurrent.Enabled = false;
              EnableDisableCurrentControls(false);
         //For printers exposed to System account as per MS Kbase
         //http://support.microsoft.com/default.aspx?scid=kb;en-us;184291
         //Look to HKEY_USERS\.Default\Software\Microsoft\Windows NT\CurrentVersion\Devices
         Microsoft.Win32.RegistryKey mySystemPrinters =
              Microsoft.Win32.Registry.Users.OpenSubKey(@".DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Devices");
         foreach (String defaultPrinters in mySystemPrinters.GetValueNames())
              cboDefaultPrinters.Items.Add(defaultPrinters);
         if (cboDefaultPrinters.Items.Count > 0)
              cboDefaultPrinters.SelectedIndex = 0;
         else
              rdoDefault.Enabled = false;
    Note the MS Kabse on where the printer registry is. Now the odd part is on one of my test development PC's it won't populate the Default User Printer list, only the Local User Printers. I take this same app to another PC and it works just fine. The register keys are there but for some reason on my Windows 7 64 bit it won't show them, the other strange part is I have full access to both keys. I have not been able to figure out why this happens...
    I'm thinking this may be related to your issue.... But I don't have a solution, very strange... I've even gone into regedit32 and set full permissions on the various keys and it still doesn't work...
    I have other VM-ware images if I need to get past that part for testing so I never drilled into why, I believe it has to be some Windows/Firewall/Anti-virus configuration or something our IT department pushed into my local Profile.... What that is I don't know unfortunately.
    I'll do some looking and testing. You may want to post this on Microsoft forums as well.... Ask about printer permissions.
    Thanks
    Don

  • Out of Memory issue in crystal report 2008 SP1

    Hi ALL,
    I am facing serious issue in crystal report 2008 SP1.
    When i am click the page setup in crystal report 2008 ,it is prompting like "Out of Memory".
    Because  of this i am not able to see the default printer in the page setup.
    Please give the suggestions to resolve this issue.
    Thanks and Regards,
    Vinay

    Hi Ed,
    What printer are you using as your default printer?
    What happens if you change your default printer to Microsofts generic print driver? Only as a test to remove the printer being the cause.
    Also, Go into Page Setup and check on Dissociate Printer..... and see if that fixes the issue.
    Also, include all your OS version and patch level, Status of DEP, anti-virus turned off ( disconnect from your network while doing this test ) and Windows Firewall or any third party firewall and close all other software running.
    Thanks again
    Don

  • Custom structure grouping in crystal report 2008

    I have a Product Line revenue report, where it is reporting revenue and cost for various oilfield divisions such as oilfield us, oilfield egypt, oilfield oman etc.... and total at the end.
    say if iam developing a custom structure for each division in a BEx query and the results of the queries have to be shown in one report.
    now the custom structure is coming down as a flat structure in crystal report 2008, so I added conditional formatting in X-position to indent, that shows as a hierarchy.
    I will do the same for all the divisions in the report.
    Can I make this each division as groups so I can add the drill-down to see a particular division by selecting that group, instead of scrolling thru pages. Please help!!
    Any suggestion with all that Iam doing to generate the P&L report is greatly appreciated.
    Thanks.

    Hi Ingo,
    This is not hierarchy actually. It is actually BEx structure created in row section which replicating hierarchy levels. In BEx web application it provides the hierarchy look.
    But while using it in either WebI, crystal report or Voyager it gives us a flat column instead of hierachy. I have understood this.
    Using this flat column I am trying to create groups to replicate the hierachy structure. Please let me know if you want more explanation.
    Thanks
    Raghu

  • Crystal Reports 2008 crash when Select Page or Print Report

    Hy,
    I Have Crystal Reports 2008 on Windows Vista. When I select page or I print reports, Crystal Reports crash. I tried to uninstall Crystal 8.5 and Crystal XI that I was on the same computer and manually removed all entry in Registry. After this I reinstalled Crystall 2008 but the problem was not resolved.
    So I tracked the dll called by CRW32.EXE and I found that the problem was on a DLL of Microsoft Office OneNote. I uninstall the Microsoft Office OneNote printer that Office Installation Program created for OneNote and now all work fine. I hope that this can help other people that have the same problem.
    Ciao Filippo

    Thank You for the information Filippo,
    This is actually a known issue with CR 2008 when a printer driver is missing at least one file. Our developers are aware of the issue and are planning to release a fix soon.

  • Crystal Reports 2008 Crashes when opening File/Page Setup

    Post Author: jrm2byu
    CA Forum: General
    I am running Crystal Reports 2008 full version on Windows Vista. Every time I click on File/Page Setup, or File/Print the program will crash. There are no updates available for 2008. I also have Crystal Reports 8.5 and 10 installed on the same computer. Any ideas what might be causing this crash?

    Post Author: Ray Norkus
    CA Forum: General
    I've got the same issue as well. Does anyone have a solution?
    A quick printing workaround was to export to a pdf and then print but now I actually need to modify my page dimensions.
    Ray

  • Issue iwth Installing Crystal reports 2008

    Installed Crystal report 2008 -- Crystal report with no Prompt Runs fine but when try to refresh a report with Prompts thows an JSP notepad page
    error - object expected
    file:///C:/Users/rzg00/AppData/Local/Temp/prompting1.html
    uninstalled an installed but the issue persists
    Crystal 2008
    java 6 update 30
    windows 7
    Edited by: cheedalla on Feb 13, 2012 5:08 PM

    Hi,
    Have you checked installing Crystal report 2008 on different system?
    Also make sure that the parameter datatype is correct for the database field datatype.
    Please check the required .Net framework is installed and check the crystal report 2008 is updated.
    Let me know if this works
    Regards,
    Rameez Shaikh

  • Issue with use of shared variables in Crystal Reports 2008 Offline Viewer

    Hi,
    I have a report that contains a number of sub-reports which include drill-down functionality. The report returns data relating to an individual team with the user being able to view top level summary information in each area from the parent report and then drill into the sub-reports to view see more detail. The data returned by the sub-reports is filtered, using sub-report links, based on the team code parameter value given by the user. This parameter field resides in the main report.
    One of the values returned by the main report is the team name. This is passed to each sub-report using a shared variable and each sub-report displays this team name as part of a heading.
    This all works fine in Crystal Reports 2008, but when a report, containing data, is opened using Crystal 2008 Offline Viewer there is a problem with the shared variable. The value is displayed correctly when the user initially drills into the sub-report. However, when the user begins to drill into grouped data within the sub-report the value passed to the sub-report using the shared variable disappears. 
    How can I ensure that, when a report is viewed using Crystal Offline Viewer 2008, the value within the shared variable is not lost when users drill into grouped data within sub-reports
    Thanks
    Stuart

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Customizing ActiveX Viewer for Crystal Reports 2008

    Here's the scenario.
       We have reports designed in Crystal Reports 2008, that are deployed on Business Objects 3.1 Infoview. All reports have Parameters for users to choose. All reports are expected to refresh on open.Some are dynamic some are standard static ones. There is an application developed in JAVA that is rendering these reports using the ActiveX viewer.
    The users are not comfortable with the way reports look in JAVA viewer. Hence the choices are either HTML viewer or ActiveX viewer.
    The application achieves this by making OpenDoc call to the report and using
    sViewer=actx
    as one of the parameters. Here's the issue that we run into. When users land on the parameter screen, the parameter screen alone Pops Up in a new window. Once all the parameter values are entered and the users clicks OK, the window vanishes and actual report is rendered in the original window.
    If we use HTML viewer by setting
    sViewer=html
    The report Parameter screen is rendered in the main window without popping up. However we do not wish to use HTML viewer because, some of the reports are linked to other reports with OpenDoc calls. i. e. Parent report calls child report with a OpenDoc call. In the HTML viewer, when you click on the link to child report, it opens in same window despite setting
    sWindow=new
    in that opendoc call. Thereby losing parent report and no way to navigate back to it. This problem does not happen in ActivX viewer.There it seems to obey the command to open in new window.
    Lastly you can recreate all this behavior by setting your viewer preferences in Info View settings. 
    So, here's my questions.
    1. Should I use the .Net viewer instead of ActiveX Viewer ? If so, where can I find Syntax for the same ?
    2. Can someone point me to documentation on the ActiveX Viewer ? Specifically making it not to Pop Up the Parameter Screen ?
    3. Should the Java application use a different method other than Open Doc to cal the reports ? If so where can I get the details ?
    Apologies for the long post. I tried to anticipate most of the questions that may arise in your mind. Thanks in advance for the time invested.

    Thank you Adam for the help.
    I already have the Open Document document you mentioned. Can't seem to search for the KB article in Marketplace. No results found.
    Just to clarify, I do not want to avoid the Parameter screen. Its the fact that it Pops Up in ActiveX viewer is the issue. The only thing I want in ActiveX viewer is to make that screen appear in main window just like HTML viewer.
    I understand that there is no difference as far as opendoc is concerned between .Net or JAVA. I am looking for the SDK behind the viewers themselves.
    To my third question, your answer is what I was looking for. But need a bit clarification.
    >
    Adam Stone wrote:
    > If you do not like the functionality that OpenDocument provides, you could use the SDK to view the reports, but you will likely run into the same issue as you are running into when using the html viewer.  The only workaround for that is to set a property on the viewer object in the SDK but it will affect all hyperlinks in the report not just a single one.
    By setting Property in SDK for the viewer Object, are you referring to Meta Tag encapsulation such as
    <a href= http://infoview.server.com/Infoview/opendoc/openDocument.jsp?iDocID=ABZR3Z&sIDType=CUID&&sType=wid&sRefresh=Y&sWindow=new>Report Title</a>
    May be I didn't get your point with setting property. I know there is documentation on Viewer SDK. I just can't seem to find it. I hope it would answer the questions.
    Edited by: SAMEER UPADHYE on Oct 6, 2010 5:46 PM

Maybe you are looking for