Printing Page Numbers With A Sub Report

Hi, I have a Crystal Report (XI) that includes a subreport which is identical to the main report because I am actually making the report print 2 copies of the same report with different critera in the detail section only. On the main report I have a Page Header section which I am using the special field "PAGE N of M", so on all pages of the report it is printing this page number. I  My issue is listed below:
First page of report                    "Fred's Place"                 Page 1 of  2 (Correct)
Second page of report              "Fred's Place"                 Page 2 of  2 (Correct)
Third page of report                   "Fred's Place"                 Page 3 of  2 (Not Correct)
Fourth  page of report                "Fred's Place"                 Page 4 of  2 (Not Correct)
The first/second page are printing correctly with data being pulled from the main report, but the third/fourth pages are not printing correctly with data pulled from the sub report. My question is how to get the third/fourth pages to print as follows:
Third page of report                   "Fred's Place"                 Page 1 of  2 (Correct)
Fourth  page of report                "Fred's Place"                 Page 2 of  2 (Correct)
Thanks for your help
Jim Dyer

Jim,
Try passing the total page count from the main report to the subreport via a shared variable. Then set up a counter formula in the fake PH of the subreport and convert the counter and the shared variable so that it reads page 1(counter) of 2(shared variable)
You should also be able to suppress the extra pagenofms in the main report when pagenumber > totalpagecount

Similar Messages

  • Printing page numbers in an ALV report with multiple grids

    Hi,
    I have developed a report using OO ALV GRID. The output is having multiple grids navigated using a menu button appended to the standard tool bar
    (Ref report: BCALV_GRID_07). On navigation, we are able to display specific titles when each grid is displayed.
    When we print those individual pages (the grids), we are able to print the page numbers and the title for the first grid but when we display the next grid and print, we are unable to initialise the page number
    and print specific title. The page numbers continues from the last printing.
    I am looking at identifying the grid when the print event - PRINT_TOP_OF_PAGE is triggered so that a grid specific title can be printed and also page number initialised.
    Any suggestions is highly appreciated.
    Thanks.
    Mani.

    You cannot have one event for all the grids as you cannot identify for which grid the event has fired. You need to activate the event for each of the grid and handle the code independently.
    regards,
    Ravi
    Note - Please mark the helpful answers

  • PRINT PAGE NUMBERS WITH PHOTOSMART C6300 SERIES ON MAC LION

    PAGE NUMBERS

    Hi,
    You have set this up from the applications, not from the printer.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • SSRS subreport with a sub-report as header on all pages

    Hello,
    I need some guidance on how to get a sub-report with a sub-report header and an expanding table. Please see below.
    This is the structure of things that I have:
    Main Report 1 is being invoked by ONLY Parameter 1 (User Text Box Entry).
    It Contains:
         Page 1: Sub-Report 1 invoked by Parameter 1
         Page 2 or more Pages: Sub-report 2 and a table (T1) expanding vertically based on Parameter 1 and Parameter 2. The Sub-report 2 should appear as header on all pages where T1 rows are there. Additionally, multiple Parameter 2
    values may be present and if so, they need to appear on a different page with appropriate header/table data. Parameter 1 and 2 are associated with a ONE dataset & its fields.
         Last Page: Sub-Report 3 and few text boxes below it. Invoked by Parameter 1
    The issue is I don't know how to insert Page 2 content. I tried making a new report with Sub-report 2 and the T1 below it. This is working fine but I'm not able to get the sub-report as header on all pages EXCEPT the first page. FixedData and RepeatOnNewPage
    properties are TRUE & KEEPwithGroup is set to 'AFTER'. Also, once I'm done with this report how do I insert it in the main report. Would it be in group / outside group in the group properties -- I would really appreciate if you can guide me with steps.
    Thank you,
    Nichesl
    Nichesl

    Thanks Asha ,
    Actually this is how my Report  layout is
    Group Header
    ---Detail1
    ---Detail2
    ---Detail3
    Group Footer1 (New Page After and Show at Bottom Setting)
    Group Footer 2 (New Page Before Setting)
    This is the layout of my report.
    When Details and Group Footer1 come in same page then my Group Header works perfect.
    When there are many details then the Group Footer1 skips into next page and Group Header does not show up in that page.
    Our requirement is such a way that Group Footer1 should have Group Header and Group Footer2 should always come in new page (i.e. last Page)
    I think I made it clear on my issue/requirement.
    Again I really appreciate for your reply.
    Regards
    Kalyan

  • How to print page numbers in adobe form

    Hi,
    Can anybody tell me how to print page numbers in adobe form.
    Thanks in advance
    Chaitanya

    Hi,
    Yes the field page n of m is used normally for printing page numbers. But it won't display the current page of total pages by itself. You have to set the run time property to n (current page ) and m (Total number of pages). Carefully select the # (current page ) and ## (Total number of pages). Hope this works for you.
    My requirement is to have the user control on current page. For Example:
    Example for a Invoice with 5 PO items (stands on 2 pages) :
    1st  page is the letter : no page number
    2nd page is the 1st page of the 1st copy of the invoice : we should read u201C1 / 2u201D
    3rd page is the 2nd page of the 1st copy of the invoice : we should read u201C2 / 2u201D
    4th page is the 1st page of the 2nd copy of the invoice : we should read u201C1 / 2u201D
    5th page is the 2nd page of the 2nd copy of the invoice : we should read u201C2 / 2u201D
    Presently i cam getting the current page number for page 4th as 3 / 2 and for 5th page 4 / 2. I could able to control the total number of pages from print program. But when i am printing the second copy (4th and 5th pages), I couldn't able to control the current page number. I need to initialize the Current page count (4th page ) as 1.
    I have used the follwing java scripting:
    this.rawValue = wv_pages - xfa.layout.page(this)
    where wv_pages is total no of pages calculated from print program.
    Please help me in this regard with some formcal or java scripting conditions.
    Thank You,
    Regards,
    Naresh.

  • How to print page no/total pges in report programing?

    how to print page no/total pges in report programing?

    Hi
    This is an example:
    In TOP-OF-PAGE you can write:
    WRITE: SY-PAGNO, '/', '-----'.
    When the program has finished to print all data, run a routine like this:
    Declare a variable
    DATA: L_PAGE_COUNT(5) TYPE C,
          V_LINE TYPE I. "The line where page number is written
    * In my example I suppose the page number is always
    * written in the first row of the page.
    V_LINE = 1.
    *  Copy this code to the end of program
    *  Page count will be printed on each page here
      WRITE sy-pagno TO l_page_count LEFT-JUSTIFIED.
      DO sy-pagno TIMES.
        READ LINE V_LINE OF PAGE sy-index.
        REPLACE '-----' WITH l_page_count INTO sy-lisel.
        MODIFY CURRENT LINE.
        ADD 1 TO sy-index.
      ENDDO.
    Max

  • Page Numbering for the aging report

    Hi,
    Does any one know how I can achieve the following:
    For the customer ageing report we need to print all customer statements at once. On our print layout we currently use the following CurrentPage()/TotalPages() formula fields to dispaly the page number. The result we get is 1/10, 2/10, 3/10....etc.
    We actually need the following, for total 10 pages statement would like to display the page number as follows:
    Customer A: 1/1
    Customer B: 1/3, 2/3, 3/3
    Customer C: 1/1
    Customer D: 1/5, 2/5, 3/5, 4/5, 5/5
    Does anyone know how to achieve the above for continuous print?
    Your assistance in this matter is highly appreciated.
    BR,
    Jimmy

    Hi,
    You are trying to print the detailed aging report. Right?
    It seems that there is no way of "splitting" the page numbers within a collection report.
    The system could not count the pages for EACH customer.The total number per pages will be per whole document, and cannot be per business partner within the same document when using the formula currentpage().
    Regards,
    Jitin

  • IBooks 2.1 and digital/print page numbers

    The iTunes store says of the upgrade to iBooks 2.1 that it can show page numbers that correspond to the printed edition of select titles.
    I've searched about but can find no detail on if or whether this applies to.ibooks format or more generically to .epub format.
    Any ideas?

    I'm guessing you're correct, though there is a method of correllating physical page numbers with documents in epub.  I'm hoping this isn't a fixed length only thing or an iBooks Author only thing.  For legal or educational books, having the ability to reference a specific page that's the same as it is in print is very important.  As a matter of fact legal citations often reference page numbers.
    So far Apple is doing a good job of providing a book reader that does more than novels, I hope the addition of page numbers is one of them.  Note I have tried the epub method, but I can't get it to work, so I'm not sure if I'm messing up with the coding or if this isn't supported.

  • Printing page numbers in smartform

    Hello all,
    we need to print page numbers as Page 1 of 10 etc..
    But I can not use SFSY-FORMPAGES because I print multiple documents.
    I need to know how many pages will be printed in advance.
    Every time a new document comes we have to start the count again.
    Have anyone come across this and solved it. Pls help.
    Useful answers are rewarded.
    thanks.

    hi
    try this
    Page&SFSY-PAGE& of &SFSY-FORMPAGES(3ZC)&
    don't forgot to write 3zc otherwise it will show '*' ones the page no will exceed 10.
    regards
    vijay
    reward points if helpfull

  • Why won't my printer print page numbers? The page numbers show up when I preview the document by don't print on the page.

    Why won't my printer print page numbers in a document? The page numbers show in print preview, but will not print on document.

    Perhaps you have set the margins so tight to the edge of the paper that you have gotten into the non-printing area for your printer. Most printers have a dead zone.
    What are your margin settings?
    Jerry

  • Converting a Crystal Report with Many Sub-Reports into CF Report Builder

    I am trying to rewrite a Crystal Reports report which has 11
    subreports in CF Report Builder. In the CR report, each subreport
    has it's own report footer seciton. I have not been able to find
    anything in CF Report Builder that allows me to do the same. Is CF
    Report Builder capable of producing a report with multiple
    subreports?

    Having successfully created a report with 5 or 6 subreports
    (with each sub-report containing a multiple sub-sub reports) I can
    say with confidence, "Yes you can." However the real question you
    should ask is, "
    Should I create a report with multiple sub-reports in CF
    ReportBuilder?" And the answer to that is.... NO, WHAT ARE YOU
    CRAZY!
    If you have something that works in Crystal Reports I would
    suggest you stick with that. Otherwise you're setting yourself up
    for a lot of headaches. Now maybe it was because I started using
    the report builder that came with MX7, but it seems there are still
    quite of few bugs that will leave you shaking your fist at your
    computer. If however you do continue and do the CF Report Builder
    route, be prepared for your application to crash unexpectedly, and
    for many things to not work they way you expect them to. And if you
    ever need help good luck. Take the fact that you had difficulty
    finding good documentation as a sign of how little Adobe supports
    this product.
    CF Report Builder is fine for very simple reports, but don't
    get fancy with it, you'll only regret your decision in the
    end.

  • Copy doesn't work with embeded sub report in CR For Visual Studio 2010 SP2

    Copy feature doesn't seems to work with embeded sub report content in CR For Visual Studio 2010 SP2. I am using a winform app .net 4.0. I am not able to select the individual fields in the embeded sub report . It always select the whole sub report and it is not copying anything. Please let me know how to enable the copy feature for elements in  embeded sub report.

    I understand your description. Let me do a quick test of this later on today and get back....
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Adobe Reader - how to add page numbers with the free version?

    Hey guys,
    Imagine I've got a PDF file and I want to create a new one by selecting some pages out of it. I know this is simply possible by using the PDFcreator but I want to add page numbers. As far as I know this is not possible with the free version of Adobe unless I would add the page number on every single page by using a text box. I want to make different catalogs from the PDF so the page numbers are really necessary. Have you got any idea how to solve that issue? You know that's pretty much the only thing I need to add which means it's not worth buying the Pro version. Unfortunately I only got the PDF and I can't work on it e.g. with MS word before I export it. Do you know if there is a way to add page numbers with a free version? There might be an additional free software which allows that?
    Thanks for your support! 

    Thanks for your quick replies.
    I know how to add text page by page. But obviously it's hard to place the numbers on the very same position, is it?

  • Printing page numbers in report

    hi,
    I want to print the page numbers in report in a format
    of PAGE 1 OF 10
       PAGE 2 OF 10....
    can anybody help me in this
    thanks in advance.
    neha.

    Hi Neha,
      Similar question was posted earlier by someone..
    It will help you.
           line-size 80
           line-count 65(1)
           no standard page heading.
    data: imara type table of mara with header line.
    selection-screen begin of block b1 with frame title text-001 .
    parameters: p_check type c.
    selection-screen end of block b1.
    start-of-selection.
      perform get_data.
      perform write_report.
    end-of-page.
      perform end_of_page.
    FORM GET_DATA
    form get_data.
      select * into corresponding fields of table imara
            from mara up to 315 rows.
    endform.
    FORM WRITE_REPORT
    form write_report.
      data: xpage(4) type c.
      data: lines_left type i.
      loop at imara.
        write:/ imara-matnr.
        at last.
          if sy-linno < 64.
            lines_left = ( sy-linct - sy-linno ) - 1.
              skip lines_left.
              sy-pagno = sy-pagno - 1.
          elseif sy-linno = 64.
          skip 1.
           sy-pagno = sy-pagno - 1.
          endif.
        endat.
      endloop.
      write sy-pagno to xpage left-justified.
      do sy-pagno times.
        read line 65 of page sy-index.
        replace '****' with xpage into sy-lisel.
        modify current line.
      enddo.
    endform.
    Form  end_of_page
    form end_of_page.
      write:/32 'Test Program',
            at 62 'Page:', at 67 sy-pagno, 'of', '****'.
    endform.
    Regards,
    Sailaja.

  • Interactive report with detail sub-report on the same page

    Hi all,
    I'm fairly new to APEX, sorry if my question is too obvious. I'm using Apex 4.0.2 on top of Oracle 11.2.
    I have an interactive report listing the content of a table. Since there are many columns in that table I would the report to show only a few identifying columns and the complete record currently selected being displayed using another report in a separate region on the same page.
    The "Link Column" on the interactive report does almost that except that it jumps on another page; I would like to simply have a sub-report updated with the selected data instead of a new page displayed. Does anyone know how to do that?
    Thanks for your help,
    Chris

    Chris,
    this sounds like what I normally do in my referential data.
    I use the wizard to create "form with report"
    I make sure that both regions (the form and the report) will be set on the same page number
    then I check/change the order of the regions (report first, form second)
    then I set the form to display in column 2
    regards,
    Richard
    P.S. the report only shows enough columns to recognize the records. the form shows all records

Maybe you are looking for