Horizontal page numbering - Crosstabs -Crystal reports 2008

Hi All,
We have Crosstab tab  in which columns grows horizontally and rows too grow vertically. It automatically page breaks when it reached the page layout width.
My requirement is to number the all the pages in Page N of M format.
But if we use the special field "PAGE N of M" it doesnot number the horizontal pages  (it can be only be repeated)
If we use the special field "Horizontal page number"- it number horizontal page number alones.
Is there any workaround to number the horizontal (virtual)pages also along with the normal pages.
We tried on various formulas by making use of no.of columns but nothing worked out.
It would be of great help if someone helps me out in a workaround for numbering all the pages(including the horizontal pages)
Thanks in advance.

Jamie,
I did try to implement your example to my existing report.
My current report will always have expanded horizontal pages for two different crosstabs from two different group footers.
When I attempted to add the {@ Page Header} field/formula to my crosstab Column, it automatically changed to a different database field from my database.
Have you experienced this before?
Other then that, the pages seem to be getting counted correctly by the {@Page Number} formula.
Here is a screen shot of my current report.
I need my page numbering to be at the bottom center for all of my pages.
https://www.dropbox.com/sh/89ub6l2rfx2el80/9W27lbMBnP
Thank you.
Stephen

Similar Messages

  • 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

  • How to get the Report Page count using crystal reports 2008

    Hi,
    I  have to implement a business logic where in i will have to display the no. of pages generated for the report
    Say for e.g. crytal report that's generated spans 25 pages in the report.
    Then i will have to display a message to the user after the report generation something like  "25 Pages generated"
    So, how would i get this report page count so that i can fetch the value and display the same to the user.
    Any sample code snippet would be of great help.
    Thanks in Advance
    Regards,
    Ramnath

    Hi,
    I am using crystal reports 2008 and i  visited the link forwarded in your previous mail and got the solution for getting the lastpagenumber of the report.
    nPages = crReport.FormatEngine.GetLastPageNumber(New CrystalDecisions.Shared.ReportPageRequestContext)
    but, i don't find FormatEngine  property for ReportDocument object.
    I just wanted to know whether this property is availale in crystal reports 2008 or should i even install any service packs for this.
    Please find below the namespaces that importing in my class
    Imports System.Windows.Forms
    Imports System.Drawing.Printing
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Windows.Forms
    Imports CrystalDecisions.CrystalReports.ViewerObjectModel
    Imports CrystalDecisions.Shared.ReportPageRequestContext
    Please let me know how can i get the formatEngine property for reportdocument object
    Thanks in Advance
    Regards,
    Ramnath

  • 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

  • Crystal Report 2008 - Cross tab in subreport doesn't expand horizontally

    Hello,
    i'm migrating all my company's reports from crystal report X to crystal report 2008.
    And i'm facing the following issue:
    when a sub-report contains a cross-tab that is too large for one page, in crystal report X a second horizontal page is generated, but in Crystal report 2008 the second horizontal page is not visible.
    Is it a known bug, is there a patch to install?

    Hi Abhilash,
    thank you for your answer, but this workarround does not works in my case.
    My main report is just a container for multiple subreports and some of them contains crosstab that can grow on several pages horizontally and vertically.
    For example i have some crosstab that can span on more than 5 pages vertically and on 2 pages horizontally.
    I tried to create an empty cross tab that span on 2 horizontal pages in the main report, and to mask it. That works for the first vertical page of the subreport but only for this one. Moreover if the first page of the crosstab contained in the subreport does not span horizontally, this solution create an unwanted empty page.

  • Crystal Report 2008 doesn't set  page size when export to excel file

    Hi,
    I am using Crystal Report 2008 Developer edition.
    At Crystal report design time setting the below page setup:
    Page Options -
       to A3(297X420 mm)
    Orientation --- Landscape
    and using the following code in .net (c#)
    I am using below format options to export in excel in .net 2005
    ReportDocument oReport = new ReportDocument();
    oReport.FormatEngine.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
    oReport.FormatEngine.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA3;
    if (aParamlist.ReportFormat == ReportFormatEnum.MicrosoftExcel)
    ExcelFormatOptions excel = new ExcelFormatOptions();
    excel.ExcelUseConstantColumnWidth = false;
    // Use detail section one as a guideline to determine column width
    excel.ExcelAreaGroupNumber = 1;
    //excel.ExcelAreaType = AreaSectionKind.Detail;
    excel.ExcelAreaType = AreaSectionKind.Detail;
    // Prepare exporting options
    ExportOptions export = oReport.ExportOptions;
    export.FormatOptions = excel;
    export.ExportFormatType = ExportFormatType.Excel;
    oReport.Export();
    when export to excel it doesn't set the Paper Size to  A3(297X420 mm).
    Is there any way to set the paper size while export to excel or in other formats also????
    Thanks & Regds,

    Hi,
    thanks for your email.
    This is not happening in development environment.It is setting the paper size anf paper orientation properly.
    this is happening in the production environment where only redist installation is done.
    thanks

  • Crystal Reports 2008 - Blank page on server only

    Crystal Reports 2008 - Blank page on server only
    My report is developed in the Crystal Reports 2008 Report Designer 12.0.0.683.
    I have a .NET application that takes the report file, an ODBC connection and exports the resulting report to PDF. This application is deployed as an MSI and includes the Crystal Reports .msm merge module. The report uses multiple views and tables from a single database to create invoices in PDF format.
    Problem: For one particular invoice, a blank page is being added to the end of the invoice. This blank page contains the report's standard page header. There is no missing data and no missing sections on the invoice. This is only occurring when the pdf is generated on a Windows Server 2008 x64 server where the application is deployed using the merge modules.
    I have installed the application locally on my Windows Vista Business x86 system and the generated PDF does NOT contain the blank page at the end.
    The blank page is not generated when previewing the report in Report Designer. For the particular invoice this is occurring on, footer F and footer G are blank and therefore suppressed.
    Please bear in mind that this happens only for one particular invoice that uses this report file and does not happen from my local system using the same .rpt file.
    The report is constructed of the following sections:
    -Page Header (suppressed on page 1)
    -Grp1 header A (watermark conditionally suppressed based upon a parameter)
    -Grp1 header B (Keep together - always fits onto a single page)
    -Details
    -Grp1 footer A (Keep together)
    -Grp1 footer B (Conditionally suppressed based upon data)
    -Grp1 footer C (Keep together)
    -Grp1 footer D (Contains sub report(suppressed when blank). Keep together. Suppress blank section. New page before but (Not OnLastRecord))
    -Grp1 footer E (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Grp1 footer F (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Grp1 footer G (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Report footer (Always blank. Suppress blank section)
    -Page footer (Fixed static content, displayed on every page.)
    Edited by: alibaabaa on Oct 12, 2009 12:41 PM
    Edited by: alibaabaa on Oct 12, 2009 12:45 PM

    Thanks for responding, Jonathan.
    Is the same runtime installed on the 64 bit system? I notice from your version number that you do not have any service packs installed on the dev system. SP 2 is out and may help.
    I have installed SP1 and SP2 this morning, resaved the report file and tried again but the same problem remains.
    I'm not sure how to answer your runtime question. I am using the same application built with the same merge modules on both the dev machine and the production server. Of course, the dev machine has the additional complication of having Crystal Reports 2008 installed. Perhaps this is causing the difference?
    Compare the printer settings between the two systems. Try installing the same printer driver on the 64 bit system.
    Perhaps I am misinterpreting your suggestion, but I am not printing the invoices. I am only exporting them to PDF. It is the PDF that has the extra page. Is there a 'print to PDF' driver of some sort that I need?
    Also, was the .NET application compiled as 32 bit, or Any CPU? Whichever it was, try switching it then recompiling to see if that helps.
    I tried switching to Any CPU but this caused the Crystal Reports module not to load at all on the 64bit Windows server.
    Thank you for your suggestions, but my problem remains. Is it worth trying with the redistributable msi rather than using the merge modules? If so, could you recommend which one I should use? I am using Visual Studio 2008 Professional.

  • Crystal Reports 2008 Page Header needed on all pages.

    I have Crystal Reports 2008.
    In my report I need the Page Header and Page Footer to appear on all pages.
    When I have over 50 detail records/lines the Page Header appears on only odd pages, the Page Footer is OK on all pages.
    How do I change the Page Header to print on all pages in CR 2008?

    Thanks what work was creating a Page Header b and moving all header info there.
    This report has 4 levels of groupings and I am finding that group effects a lot.

  • 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

  • Crystal Reports 2008 Missing Page Headers and Footers when Exporting Excel

    After upgrading from Crystal Reports 9 to Crystal Reports 2008 we have noticed that when we export to Excel the document no longer retains the page headers and footers.  After doing some reading I see that there is a property called ExportPageHeadersAndFooters that we can tap into.  However, I am unable to get this to work for me.  Below is my code, do you have any suggestions?
                    ReportDocument rdReport =  new ReportDocument();
                    rdReport.Load(sReportFilePath);
                    ExportFormatType exType = ExportFormatType.Excel;
                    // create an instance of excel formatting options
                    ExcelFormatOptions foFormat = new ExcelFormatOptions();
                    foFormat.UsePageRange = false;
                    foFormat.ExcelUseConstantColumnWidth = true;
                    foFormat.ExcelTabHasColumnHeadings = true;
                    foFormat.ExportPageBreaksForEachPage = true;
                    foFormat.ExportPageHeadersAndFooters = ExportPageAreaKind.OnEachPage;
                    // set up more exporting options
                    rdReport.ExportOptions.ExportFormatType = ExportFormatType.Excel;
                    rdReport.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
                    rdReport.ExportOptions.FormatOptions = foFormat;
                    rdReport.ExportToStream(exType);

    I was able to get it to work but I had to do this.
    ExportRequestContext expReqCntxt = new ExportRequestContext();
    expReqCntxt.ExportInfo = rdReport.ExportOptions;
    sExported = ((CrystalDecisions.CrystalReports.Engine.ReportDocument)rdReport).FormatEngine.ExportToStream(expReqCntxt);

  • 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.

  • 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

  • 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

  • Crystal Report 2008 Crosstab Cell Margin Not Editable

    Hi  All,
    Currently I am designing a new report with Crystal Report 2008. I am using crosstab feature.
    I have an issue with the margin in the cells. I've managed to resize the cells in the crosstab using the "Size and Position" option but I don't have a choice to set the margin in the cells.
    I do know there is an option to do "Grid Options -> Show Cell Margins" but once the Cell Margins is shown do we have the choice to set the margin?
    Please help!!!
    Thanks
    David

    Hi David,
    I think in cross tab, cell margins will be set automatically based on your row and column combination.
    Thanks,
    Sastry

  • Crystal Reports 2008 Some problems

    I'm facing few problems with Crystal Reports 2008 :
    1. When you desing a reports that have its page height greater than its width the reports force you to use a Landscape even if you select portrait. this cause problem on most dotmatrix printers as they prints Landscape pages Veritically.
    2. When you design a reports with paper sise A4 and set it to Landscape you cannot drow a box or line that can be longer than the page width or even move it to the right edge or the report.
    3. When you double click on a report to open it with Crystal reports 2008 it bacame busy and you have to Switch to Crystal reports 2 or 3 times before it open the report.
    Thanks

    Hi
    This is with reference to your first query:
    Printing issues usually depend on the printer drivers; so would suggest you to update the driver to the latest version; For more information related to the Printer.
    http://help.sap.com/businessobject/product_guides/cr2008/en/xir3_cr_usergde_en.pdf.
    The issue occurs when width(Horizontal) is greater than height(Vertical).
    then it takes the page orientation as Landscape automatically however with Crystal Report Base version it gives the desired output.
    Hope this informationis helful to you.
    Regards
    Asha.

Maybe you are looking for

  • Sharing Photos in Photoshop Elements 9

    I want to use Photoshop Elements 9 to send photos via e-mail (it reduces the photo size). I updated 'preference>shared using two methods:-  1)Windows Live and 2) Adobe e-mail services (tried both ways). Using Windows Live method a message came back i

  • Legend for a line chart displaying incorrectly

    Hi All, I am working with a line chart in webi XI R2. for example conssider the island resort marketing universe. we have 3 resort names like bahamas,US,France and the corresponding "revenue"  for year 1999,2000,2001. Now i want a line chart for each

  • Error running ocsinstall.bat

    When I run 'ocsinstall.bat', in step 2 I recive error: === Step2: Importing Portal objects if not exist === === Portal Objects Imported === Error while trying to get Region IDs Do anybody knows how to resolve it?? Thank you

  • Safari 4 crashes on window close

    Hey guys, I keep getting safari crash everytime I close a safari window or a tab. Crash log follows Process: Safari [5624] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 4.0.2 (5530.19) Build Info: WebBrows

  • How to implemented Planning Layout for other plan

    Hi, I have one planning layout for X plant now I want to use same layout for anothr plant. Can I copy the same layout for another plant...? If yes pleast let me know the step with tr.code. In this senario what I have to copy Planning area, Level or l