To reset page number after each new section in DeskI

I have a master/detail report where the master is "Customer name". I have a requirement to reset the page number at each new  Customer name.
i.e. If "Customer A" spans to 3 pages and "Customer B" spans 2 pages. Then for Customer A the page number should be Page 1 of 3, Page 2 of 3, Page 3 of 3. Then Customer B should have page number as Page 1 of 2,Page 2 of 2.
1. The Page number can be obtained using PageInSection but only if I display it inside the section body and select "Repeat on every page" . But I need to display it in Page footer.
2. I am unable to get the total No.of Pages per section unless I do some calculation using the no of rows per Customer. Is there any other way of getting this detail?
Please help on the baove 2 issues. This is very URGENT.

Dear Thendral A,
The "PageInSection" function resets the page number to 1 at the start of each new section in the specified section level.
For Example:
you have a report with two section levels, Country and Quarter.
You set every value of Country to start on a new page and enter the following syntax in a cell placed WITHIN THE SECTION THAT NEEDS THE RESETTING OF THE PAGE (it cannot be placed in the header or footer, as it can then not refer to the relevant section. It will give the value 0 instead), to restart page numbering to 1 for each value of Country:
=PageInSection(1)
where (1) is Country which is section 1 in the report.
If there are any following sections these can also be reset via this formula with the use of the relevant section number.
This option can be used effectively when you set each value of a section to start on a new page. To do this, check the Start on a new page option in the Section Format dialog box.
Do remember that the result will only be seen in the report, when the option View/Page layout has been set, otherwise the result will be seen as a 0 at each section (this however does get correctly displayed in the Print Preview, and when printing without the page layout option set).
I hope that these information help you to understand the functionality of the PageInSection function.
Regards,
Samanta F

Similar Messages

  • Print Multiple copies of report, and resetting Page number for each copy.

    Dear frnds!
    i am using developer 6i reports i have a problem.
    i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
    1 - for user copy
    2- gate copy
    3- accounts office
    4- office copy
    any body please tell me the solution "i am using oracle 9i and developer 6i"
    Thanx
    Ibrar

    Hi,
    I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
    <?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
    HEADER
    PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
    PSN Detail: <?$G1/PickSlipNumber_ID260?>
    Page 1 of 3
    <?start:body?>
    BODY
    <?$G1/LineNumber_ID6?>
    <?end body?>
    FOOTER
    <?end for-each?>
    <?end for-each-group?>
    XML:
    <R5542520>
    <Pick_Slips_Detail_Lines_S24>
    <Header_Custom_Section_S24>
    <Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
    <PickSlipNumber_ID260>123456</PickSlipNumber_ID260>

  • Reset Page Number for each Group

    I am currently creating a RTF template using XMLP 5.0
    My demanding boss gets back in town in five days, and he expects
    this report to be ready for production. :)
    But I haven't been able to figure out one last spec.
    The page number needs to be reset for each group.
    So for example, the total report is about 83 pages.
    In my RDF file (from Oracle Apps), I am grouping by a DEPT field.
    In my RTF template, I am page breaking on each DEPT.
    The page numbering should also be reset to 1 on each DEPT break.
    The reason for this, is that the report will be printed, then separated by DEPT.
    This way, each DEPT in the plant can receive their own individual report.
    Is there anyway to do this using XMLP 5.0?
    We would be willing to upgrade our XMLP,
    if this functionality is available in a later version.
    Thanks in advance.
    Mark K

    Hi Mark
    Yep, you can do this, you can even do it in 5.0 :o)
    For some reason it did not make the user doc in 5.0 ... an Easter egg if you like.
    So I'd recommend getting the 5.5 or later docs and using that for reference. Just search for "About Oracle XML Publisher Release 5.5" on metalink once you have that doc search it for "Oracle XML Publisher User's Guide" its a link to the PDF document.
    Then check pg 86/290 - Advanced Report Layouts > Batch Reports for details. This approach will work for 5.5. If you would like a sample then if you have installed the template builder there is an Advanced > Repeating Headers folder inwhich you will find an example.
    Regards, Tim

  • I am trying to change the page number format in a section of my document.  I want 2 sections to have 2 different page number formats.  How can I do this?

    I have 2 sections in my Pages document.  I am using Insert Auto Pages in footers to number my pages, but when I try to change the number format for one section it changes the format to the same as my change for the other section.  I want auto page number in each section but want each section's page numbers to have different formats. I have managed to get the auto page numbering to begin separately in each section, but just can't get the formats to be different.  There must be a way to do this.  Anyone know how?

    You look on the right edge of this page in the box entitled [More Like This].
    The dumb machine was able to find threads containing available answers .
    Using the Search feature with a simple request like
    page number AND format AND section
    would have give these links without opening a new thread.
    Yvan KOENIG (VALLAURIS, France) samedi 28 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    Please :
    Search for questions similar to your own
    before submitting them to the community

  • How to insert page number on each page for Cross-Tab report?

    Hi,
    I have created a Cross-Tab in the section Report Header via Crystal Reports 11.
    Now, I want to created more Cross-Tabs, and each page has one Cross-Tab.
    So, I insert Report Headers to contain Cross-Tabs. But, the report only shows the page number at the last page.
    How to insert page number on each page?
    Thanks in advance.

    Hi,
    Well, the easiest solution is to place the Cross-tab in the Report Footer, Of course, ONLY if the report contains this single object which I'm assuming is not the case.
    If you do not wish to place the cros-tab in the Report Footer, here's what you need to do:
    1) Create a formula;
    whilereadingrecords;
    2) Create a group on this formula. If the report already contains groups, move this formula to the top of the grouping list. It won't affect the other groups or records in any way.
    3) Move the Cross-tab from the Report Header to the Group Header1 and suppress Group Footer1
    4) Add the Page Number field to the Page Footer
    Let me know how this goes!
    -Abhilash

  • How can I create a new page in pages, without creating a new section?

    how can I create a new page in pages, without creating a new section?

    Good morning graywright,
    It sounds as if what you are wanting to do in the Pages application is to insert a Page Break. Follow the steps in this article -
    Pages '09: Inserting a Page Break
    In a word processing document, click where you want the break to occur, and then choose Insert > Page Break. 
    To remove a page break, click at the beginning of the line that follows the break and press the Delete key.
    In a page layout document, to insert a new page in your document, click Pages in the toolbar and choose from the template page options available.
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Pivot Table, "Insert Page Break After Each Item" Setting Only Works for the First Item Change

    I have a flattened pivot table generated from Powerpivot and I would like to insert a page break for each change in the row item.
    When I use the pivot table Field Settings>Insert Page Break After Each Item, Excel inserts the first page break then returns to normal pagination for the rest of the output.
    Is there another setting required to maintain the page breaks after the item change?
    Thanks.

    We are experiencing the same problem. Did you ever find a solution?

  • Every time I add a section break it inserts a blank page prior to the new section.

    Not sure I understand why it does this, and how do I get rid of the blank page?

    I cannot duplicate the unwanted extra blank page when adding a new section in Pages v5.5.2. Are you using a template other than blank?
    You can remove the unwanted page by choosing View > Show Invisibles. Then, scroll backwards in your document until you get to the first occurrence of the following section or page break. You can tell if it is a page break because in thumbnail view, the page icon is smaller that the section icon.
    Double-click this line to select, and then press the delete key. Your extraneous page (or section) is now gone.

  • Expand page width without creating new section- please help!

    When I expand the width of my page, iWeb creates a new section instead of expanding my content. Does anyone know how to fix this?? Thank you!

    Here is a visual refferance. The first tab of the inspector is the "page inspector" then click Layout then adjust page width to fit your needs

  • Reset page number to '1 ' for each box of packing list in sap script

    hi Gurus,
    I am running a packing list for delivery note . Many boxes spread across more than one page. I Need to print page number in Packing list for each box like 1 of 2 , 2 of 2. In the new page for next box , I need to print 1 of 1, 2 of 2. and goes on.
    can you suggest a method to achieve this in script.
    thanks,
    manoj

    Hi,
    Could you give me the reply for following question?
    1. Are the boxes changing depends on the data? or static size? How many boxes would be displayed in a page?
    2. Is it your own driver program / standard one?
    3. Suppose if you have 5 pages and having 10 boxes, 2 boxes for each page, then do you need to display like,
    >1 of 1 on 1st box on 1st page
    >2 of 1 on 2nd box on 1st page
    >1 of 2 on 1st box on 2nd page
    >2 of 2 on 2nd box on 2nd page
    >....
    Is it so?
    Once i get these details then I will let u know the way....:)

  • Reset Page Numbers for each group with XMLP 4.5

    I am currently working on the invoice report rtf template using XMLP 4.5
    We cannot upgrade to new version at this stage.
    Our requirement is, i want to reset the page numbers for each invoice. I know that it can be achieved using @section. I think this will work only XMLP 5.0 and after. Is there any other way to achive this requirement?
    Our reports are moving to production in another 3 days.
    I would be thankful If anybody can provide me the solution for this problem?
    Thanks
    Babu

    Hi Tim
    Thank you very much for your suggestion. We have upgraded to latest version of XML and now i am using @section to reset the page numbers for each invoice. This is working fine. But i have stucked to print the invoice copes for which page numbers should be reset.
    As per the client requirement i need to generate the invoice report with 3 more copies where COPY word will be there for duplicate invoice copies.
    I have written the rtf template logic like below:
    ex: <?for-each@section:G_INVOICE?>
    Invoice Information
    Invoice first copy information with COPY word (just copy the above original invoice layout and pasted)
    Invoice second copy information
    Invoice third copy information
    <?end for-each?>
    This is working fine. But client is demanding that all the invoice copies page numbers should start with 1. I tried by giving the @section for each invoice copy. But it was not working. Is there anyway to reset the page numbers for each invoice copy (anyway orginal invoice page numbers are resetting becuase i have used @section). It would be great help for me by providing the solution for my problem.
    Thanks
    Babu

  • How to get the page number in the break section?

    Hi expert,
    The user wants the page number came right after the Break group name if the break section contains more than 1 page. E.g.
    ABC Compnay
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    BCD Company, p 1
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    BCD Company, p 2
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    CDE Company
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    How to get the page number in section break level?

    Hi Wes
    * Create a Field on the margin.
    * Set its "Source" to "Page Number"/"Physical Page Number".
    * Click "Page Numbering" button.
    * In "Reset At" list box, choose the Repeating frame that surrounds your detail group in the layout.
    This should cause Reports to increment the page number until the "Company" repeating frame resets.
    Regards
    Sripathy

  • Need to reset page numbers for each layout which has same data

    Hi Gurus,
    I have an requriement to reset the page number from 1 for each layout in same template.
    I know we can do this by @section when we have multiple header_id, but in my case, i have the same data that need to be shown in 3 different layouts under the same template.
    So for the first layout it should start with 1 of 2, 2 of 2
    Second layout should start with 1 of 2 , 2 of 2
    Third layout should start with 1 of 2 , 2 of 2
    Any help is highly appreciated.
    Thanks,
    Edited by: R on May 16, 2013 8:27 AM

    Hello Everyone,
    Appreciate if any clue about the mentioned requirement.

  • Adding page number after topic reference

    How would I insert some type of bookmark after referencing a
    topic, that, when printed to MSWord, puts the page number for the
    topic and is updated when the topic is moved to a different page?
    Since one version of our manual is printed, I need to show the
    reader what page the referenced topic is on, for example, "Refer to
    "Navigating the Program" (pg 242) for more on this topic."
    Thanks in advance,
    dar

    Metroxing,
    That behavior would occur if you didn't put the page number into the actual footer, but in a user-created box. Or it might happen if you had a section break after page one, and checked First Page is Different in the Layout inspector > Section button.
    -Dennis

  • Password reset page problem after sso integration

    Dear all,
    We've integrated ERP 12.0.4 with SSO. Integration is fine
    the url http://hostname:8010/ is redirecting to
    the portal login page ( as per the design)
    if any user password is reset,before SSO integration the above redirects to a new password reset page, where the user can reset his password. Now after integration, the SSO page redirects directly to the home page of the user.We need to have the password reset page also.IS there any option to do this ?
    Thanks
    Yoosuf

    Hi,
    Please verify that you have completed all the steps in these docs.
    Enabling Register Here Link in Login Page in 11i and 12+ [ID 874373.1]
    Reset Password Functionality FAQ [ID 399766.1]
    Thanks,
    Hussein

Maybe you are looking for

  • Ipod touch is stuck in recovery mode

    the ipod touch itself has a black screen with itunes logo and a cord going to it. when i plug it into itunes it tells me its in recovery mode, and has to be restored and updated so i say yes. but it never finishs, all happened when i updated to ios 5

  • Movies not showing in the iphone section

    Hello i have a win xp with the latest version of ITune and a Iphone latest update My problem is that i have movies that are showing and playing in Itune in MPEG-4 but when i go to my iphone/video tab i see NO movies anywhere. The list is blank. The r

  • How do I update the RAW plug-in in CS5 so that it works with my Canon EOS700D?

    I have downloaded and installed version 7.4 of DNG but CS5 still shows a previous version.  Just to make sure, I opened CS5 as an Administrator ans I did when installing DNG 7.4, but CS5 still shows an earlier version (6.7.1.340).

  • Help, what speeds am i willing to expect when (if)...

    OK, I live in Hattersley mottram and infinity isn't in my area. After a quick phone call, it (appartently) is in febuary march, i am using a technicolor modem router atm (unlimited up to 8meg adsl postoffice) and only get a 2/5 bar on my laptop. on m

  • Camileo P10: bad avi quality but good on youtube

    Hi guys I'm having a problem with my Toshiba Camileo P10 I shot this in full hd, it looks good on the camera monitor but when i copy the *.avi file into my computer it looks like this http://img687.imageshack.us/img687/783/18024386.png but when i upl