Resetting page numbers

I'm using Reports 6i.
I have a query with three layouts. All three layouts are interlinked. I want page numbers for each of the layouts. The three layouts are created from a single query.
In each of the layouts a page number shall be allocated only when, example in the second layout, the invoice date changes.If the invoice date remains the same..... no page number is printed.
Can this be done in 6i.
Thanks in advance!

Look into the properties of the page number. There is an option Page Numbering. That may help you to reset the number or otherwise format trigger may be used to reset the value.
Let me know what works out for you.
Thanks,
-J

Similar Messages

  • 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

  • Reset page numbers of Pdf using acrobat dls

    I am working on a vb.net project, its a windows service. In my class library I am trying to merge two PDFs, but once merged I have to reset the page numbers. Can anyone help me on how to achive this?? Below is my code.
    Private Sub MergePdfs()
    Dim pdfFile As String = "C:\Cognizant\Merge\Letter -Sample for RRD_Pgno in Red for reference.pdf" 
    Dim insertPdf As String = "C:\Cognizant\Merge\Insert.pdf" 
    Dim pdfDoc As New Acrobat.AcroPDDoc 
    Dim insertDoc As New Acrobat.AcroPDDoc 
    Dim mergeDoc As New Acrobat.AcroPDDoc 
    Dim b As Boolean = False   
    b = mergeDoc.Open(pdfFile) 
    Dim i As Integer = mergeDoc.GetNumPages()   
    b = insertDoc.Open(insertPdf) 
    b = mergeDoc.InsertPages(1, insertDoc, 0, insertDoc.GetNumPages(), False)   
    b = mergeDoc.DeletePages(4, 5)   
    b = mergeDoc.Save(1, "C:\Cognizant\Merge\MergedFile1.pdf") 
    mergeDoc.Close()   
    pdfDoc.Close() 
    insertDoc.Close() 
    End Sub

    You can print the page number in the margin of the report, outside the frames. In the margin, create a field with source Physical Page Number. In the Page Numbering property, set the Reset At property to the frame you want.

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

  • @section without page numbering reset

    Hi,
    I'm having a problem with page numbering.
    I have the following layout (simplified):
    some header fields here
    current page number
    total pages
    <?start:body?>
    <?for-each@section>
    some fields here
    <?end for-each?>
    <?end body?>
    Very simple. Except that I don't want the page numbering to reset. Is there anyway use @section and NOT reset page numbers with each break?
    Any ideas?
    Thanks.

    aaaahhhhhh !!!!!!!!!
    Thanks a lot . I was trying for this solution very badly.. How did you find the solution ? Can you point me to the reference so that I can have it for future issues/reference
    Once again thank u so much for updating the thread with the solution !!!

  • Reseting page number in Word RTF template for BI Publisher PDF generation

    Hi!
    Apex 4.0.2, Oracle 10.2.0.4, BIP 10.2
    Bills are created based on Word RTF file with BI Publisher. Reszulting file is one big PDF file, which has many pages.
    Word RTF template is grouped on BILLS.ID field with page break option. So one BILLS.ID may have one or many pages (according data).
    How to create RTF template (for PDF BI Publisher generation) with reseting page numbers when grouping value change.
    Page numbers are in footer in format
    curr_group_page/total_group_pages
    where:
    curr_group_page is current page number in group (defined with BILLS.ID field),
    total_group_pages is total page number of pages in group (defined with BILLS.ID field).
    I need to reset numbering whenever BILLS.ID (group) change.
    Example:
    ID=1 (4 pages)
    1/4, 2/4, 3/4, 4/4
    ID=2 (1 pages)
    1/1
    ID=3 (2 pages)
    1/2, 2/2
    ID=4 (3 pages)
    1/3, 2/3, 3/3
    etc.
    How to achieve that kind of numbering?
    Any help appreciated.
    Regards,
    Damir Vadas
    Edited by: Damir Vadas on May 16, 2011 12:49 PM

    Simple question.. Does your posting deal with an APEX issue or a BI Publisher issue? The posting you have deals with the RTF add-on for Word that builds report layouts for BI Publisher. I suggested in my response that you move it to a more relevant forum..
    If you feel that me alerting you to the fact your are VIOLATING forum policy is an issue, please feel free to ask others their view.. (posting to a 3 year old closed thread, creating MULTIPLE threads for a single issue..) You do NOT seem to get the idea that posting this in the Bi Publisher support forum would probably get you a BETTER response than here.. Asking pl/sql questions here will also get people to refer your questions to the PL/Sql Support forum..
    Also, here is a POSSIBLE answer from the BI Publisher Forum: http://forums.oracle.com/forums/thread.jspa?threadID=594805
    This Is The APEX SUPPORT forum, we deal with SUPPORT questions on APEX (Application Express)..
    Thank you,
    Tony Miller
    Webster, TX
    You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Problem in resetting the Page numbers

    Hi,
    I am using to print PO report using XML publisher.
    The layout that is needed is
    Header
    ---- It cointains page number x of y ,po number,po creation date,and other details.
    Body
    ---- It cointains po lines and po headers data.
    end body
    After the body ends we need to print Service note in a seperate page.But this service note should not have header and the pages of the service note will not be included in total pages of the PO.
    If the PO is 10 pages and service note 2 pages then the total page of PO should be 10.
    This is for one PO.We have to print many number of POs in a single request.
    Presently the problem is that for resetting the page numbers of service note I am using a section break after the end of body.What it does is it reset the page number.But the problem is first all the POs are displayed then its service note.But I need one PO and then its service note .Then the second PO and its service note.

    I have used the following method to call the template based on IF condition as follows:
    The way I expected the outcome is:
    if the COPY_ORIGINAL variable's value is '(Copy)' then it shoud print once the template with a label '(Copy)' in it.
    else
    if the COPY_ORIGINAL variable's value is '' (empty) then it should print 4 times the template, with different labels as: 'Original' , 'Accounts Copy', 'FP Store Copy' and 'Gate Copy'
    the way I used the xml tags is mentioned below:
    <?if: COPY_ORIGINAL='(Copy)'?>
    <?call:TC?>
    <?end if?>
    <?if: COPY_ORIGINAL=''?>
    <?call:TC1?>
    <?end if?>
    <?template:TC1?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,4,1)?>
    <?if: position()=1?>Original<?end if?>
    <?if: position()=2?>Accounts Copy<?end if?>
    <?if: position()=3?>FP Store<?end if?>
    <?if: position()=4?>Gate Copy<?end if?>
    <?for-each:/SFFONT001/LIST_G_HEADER_ID?>
    <?call:TC?>
    <?end for-each?>
    <?end for-each?>
    <?end template?>
    <?template:TC?>
    <?ORDER_NUMBER?>
    <?end template?>
    In this case, it won't call the template TC1 and reset the page numbers, instead it prints the page numbers continuously.. (no resetting of page numbers)
    why the following If statement:
    <?if: COPY_ORIGINAL=''?>
    <?call:TC1?>
    <?end if?>
    is not working for the statement:
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,4,1)?>
    Please update...
    regards..,

  • My iPad crashed when I updated latest iOS software. After resetting the system, I am unable to get back Pages, Numbers and Keynote Apps. Anyone has same problem? And how can I get back the apps?

    My iPad Air crashed after updating latest iOS software. After resetting the system, Pages, Numbers and Keynotes are not available. How do I get the apps back into my iPad?

    You can also re-download the apps.
    App Store>Purchased>Re-download apps

  • I can not access pages-numbers etc after resetting my mac air

    Hi,
    I can not find pages-numbers and other office doc after resetting my macbook air.
    Even i can not find those prg at appstore/purchases.

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
    If there are multiple apps trying to download at once, only one can download at a time and the rest say "Waiting" until it is then their turn. Try this. Double tap the icon of the Waiting app, and it should resume the download.
    How to Solve the Problem of An iPad App Download Stuck on “Waiting”
    http://ipadacademy.com/2012/06/how-to-solve-the-problem-of-an-ipad-app-download- stuck-on-waiting
    How To Get Rid Of Your iPad App Download Frozen Problem
    http://www.sidelineapple.com/how-to-get-rid-of-your-ipad-app-download-frozen-pro blem-and-not-lose-years-of-your-life-video/
    iTunes: How to resume interrupted iTunes Store downloads
    http://support.apple.com/kb/ht1725
    Another thing to try - Turn the iPad Off & then back ON.
    If that doesn't work:
    •  Log out of your iTunes store account.  Go to Settings > Store > Sign Out Then press the Home button.
    • Then press and hold the Home and Sleep buttons simultaneously and don't release them when it brings up the Turn Off screen; keep holding them until the Apple logo appears.
    • After restart, the Waiting should be gone.
     Cheers, Tom

  • Outside in Viewer resets the page number to 1 always, even though the Word document has page numbering starting from different value.

    Hi All,
    I've a Word Document with page header having page number inserted.However the page numbers have been formatted to start from a value other than 1.
    E.g. For a given word document, navigate to "File -> Insert -> Page number-> format page number -> start at " and set the value to say "300". Now insert page numbers, so that the page numbering of the 1st page starts from 300.
    When this document is viewed using Outside-in Viewer, the page number of the 1st page always shows 1 instead of showing 300 (though this is not being reset/changed within the actual document)
    I'm using Outside in 8.1.9 SDK for the same. Is there an API to set the page number correct (exactly what has been set within the original document) while viewing...
    Alternatively confirm if this is a limitation within the Outside-in Viewer.
    Thanks,
    Badri

    You're going to need to open an SR to Outside In Support, Product ID 2276.
    Make sure you attach an example Word doc to the SR.

  • Will Pages allow me to insert page numbers later in the document?

    I want to add the page number in my document and send electronically. But, I want page numbering to begin on the third page. When I add the page insert function, it doesn't (?) allow me to reset the page number. Certainly there is a way, please help.

    Hi EC3MKTG,
    Page numbers can begin at 1 in any Section.
    Menu > Insert > Section Break after the end of the second page. Then click in that Section and
    Inspector > Layout > Section > Page Numbers > Start at > enter 1
    Inspector is your friend.
    It may help if you go to Menu > View > Show Invisibles to see the formatting characters such as Section Breaks (blue horizonal lines), paragraph marks, spaces, tabs...
    If you have inserted any Page Breaks, it may help to delete them and let Section Breaks control the pagination.
    Regards,
    Ian.

  • Page Numbering w/ASP and Dreamweaver CS3

    I am new to this so please bear with me if this question has been asked a million times. I have a single search parameter searching for a "Department", the result displays on the next page (The Results page). This works fine. I am using DW CS3 and I am now finding out that when I use it with ASP it only allows the Previous, Next, First, Last, Specific records to be displayed.
    I really want it to display the total amount of pages by numbers Example: (1-10, 11-21, etc...). Can someone please help me? I have searched the web and came across this site http://www.dmxzone.com/go?12449. I am not following where to put the code he suggest. Can someone please help me?
    Thanks for any help in advance.
    Here is the asp code I have for my Results page:
    <%@LANGUAGE="VBSCRIPT"%>
    <!--#include file="Connections/BishopsLogin.asp" -->
    <%
    Dim rs_Results__MMColParam
    rs_Results__MMColParam = "1"
    If (Request.QueryString("Department") <> "") Then
      rs_Results__MMColParam = Request.QueryString("Department")
    End If
    %>
    <%
    Dim rs_Results
    Dim rs_Results_cmd
    Dim rs_Results_numRows
    Set rs_Results_cmd = Server.CreateObject ("ADODB.Command")
    rs_Results_cmd.ActiveConnection = MM_BishopsLogin_STRING
    rs_Results_cmd.CommandText = "SELECT Department, SubpageTitle, LinkDescription, URL, DateLastModified FROM dbo.Episcopal_Data_Files WHERE Department = ?"
    rs_Results_cmd.Prepared = true
    rs_Results_cmd.Parameters.Append rs_Results_cmd.CreateParameter("param1", 200, 1, 30, rs_Results__MMColParam) ' adVarChar
    Set rs_Results = rs_Results_cmd.Execute
    rs_Results_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index
    Repeat1__numRows = 5
    Repeat1__index = 0
    rs_Results_numRows = rs_Results_numRows + Repeat1__numRows
    %>
    <%
    '  *** Recordset Stats, Move To Record, and Go To Record: declare stats variables
    Dim rs_Results_total
    Dim rs_Results_first
    Dim rs_Results_last
    ' set the record count
    rs_Results_total = rs_Results.RecordCount
    ' set the number of rows displayed on this page
    If (rs_Results_numRows < 0) Then
      rs_Results_numRows = rs_Results_total
    Elseif (rs_Results_numRows = 0) Then
      rs_Results_numRows = 1
    End If
    ' set the first and last displayed record
    rs_Results_first = 1
    rs_Results_last  = rs_Results_first + rs_Results_numRows - 1
    ' if we have the correct record count, check the other stats
    If (rs_Results_total <> -1) Then
      If (rs_Results_first > rs_Results_total) Then
        rs_Results_first = rs_Results_total
      End If
      If (rs_Results_last > rs_Results_total) Then
        rs_Results_last = rs_Results_total
      End If
      If (rs_Results_numRows > rs_Results_total) Then
        rs_Results_numRows = rs_Results_total
      End If
    End If
    %>
    <%
    Dim MM_paramName
    %>
    <%
    ' *** Move To Record and Go To Record: declare variables
    Dim MM_rs
    Dim MM_rsCount
    Dim MM_size
    Dim MM_uniqueCol
    Dim MM_offset
    Dim MM_atTotal
    Dim MM_paramIsDefined
    Dim MM_param
    Dim MM_index
    Set MM_rs    = rs_Results
    MM_rsCount   = rs_Results_total
    MM_size      = rs_Results_numRows
    MM_uniqueCol = ""
    MM_paramName = ""
    MM_offset = 0
    MM_atTotal = false
    MM_paramIsDefined = false
    If (MM_paramName <> "") Then
      MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
    End If
    %>
    <%
    ' *** Move To Record: handle 'index' or 'offset' parameter
    if (Not MM_paramIsDefined And MM_rsCount <> 0) then
      ' use index parameter if defined, otherwise use offset parameter
      MM_param = Request.QueryString("index")
      If (MM_param = "") Then
        MM_param = Request.QueryString("offset")
      End If
      If (MM_param <> "") Then
        MM_offset = Int(MM_param)
      End If
      ' if we have a record count, check if we are past the end of the recordset
      If (MM_rsCount <> -1) Then
        If (MM_offset >= MM_rsCount Or MM_offset = -1) Then  ' past end or move last
          If ((MM_rsCount Mod MM_size) > 0) Then         ' last page not a full repeat region
            MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
          Else
            MM_offset = MM_rsCount - MM_size
          End If
        End If
      End If
      ' move the cursor to the selected record
      MM_index = 0
      While ((Not MM_rs.EOF) And (MM_index < MM_offset Or MM_offset = -1))
        MM_rs.MoveNext
        MM_index = MM_index + 1
      Wend
      If (MM_rs.EOF) Then
        MM_offset = MM_index  ' set MM_offset to the last possible record
      End If
    End If
    %>
    <%
    ' *** Move To Record: if we dont know the record count, check the display range
    If (MM_rsCount = -1) Then
      ' walk to the end of the display range for this page
      MM_index = MM_offset
      While (Not MM_rs.EOF And (MM_size < 0 Or MM_index < MM_offset + MM_size))
        MM_rs.MoveNext
        MM_index = MM_index + 1
      Wend
      ' if we walked off the end of the recordset, set MM_rsCount and MM_size
      If (MM_rs.EOF) Then
        MM_rsCount = MM_index
        If (MM_size < 0 Or MM_size > MM_rsCount) Then
          MM_size = MM_rsCount
        End If
      End If
      ' if we walked off the end, set the offset based on page size
      If (MM_rs.EOF And Not MM_paramIsDefined) Then
        If (MM_offset > MM_rsCount - MM_size Or MM_offset = -1) Then
          If ((MM_rsCount Mod MM_size) > 0) Then
            MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
          Else
            MM_offset = MM_rsCount - MM_size
          End If
        End If
      End If
      ' reset the cursor to the beginning
      If (MM_rs.CursorType > 0) Then
        MM_rs.MoveFirst
      Else
        MM_rs.Requery
      End If
      ' move the cursor to the selected record
      MM_index = 0
      While (Not MM_rs.EOF And MM_index < MM_offset)
        MM_rs.MoveNext
        MM_index = MM_index + 1
      Wend
    End If
    %>
    <%
    ' *** Move To Record: update recordset stats
    ' set the first and last displayed record
    rs_Results_first = MM_offset + 1
    rs_Results_last  = MM_offset + MM_size
    If (MM_rsCount <> -1) Then
      If (rs_Results_first > MM_rsCount) Then
        rs_Results_first = MM_rsCount
      End If
      If (rs_Results_last > MM_rsCount) Then
        rs_Results_last = MM_rsCount
      End If
    End If
    ' set the boolean used by hide region to check if we are on the last record
    MM_atTotal = (MM_rsCount <> -1 And MM_offset + MM_size >= MM_rsCount)
    %>
    <%
    ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
    Dim MM_keepNone
    Dim MM_keepURL
    Dim MM_keepForm
    Dim MM_keepBoth
    Dim MM_removeList
    Dim MM_item
    Dim MM_nextItem
    ' create the list of parameters which should not be maintained
    MM_removeList = "&index="
    If (MM_paramName <> "") Then
      MM_removeList = MM_removeList & "&" & MM_paramName & "="
    End If
    MM_keepURL=""
    MM_keepForm=""
    MM_keepBoth=""
    MM_keepNone=""
    ' add the URL parameters to the MM_keepURL string
    For Each MM_item In Request.QueryString
      MM_nextItem = "&" & MM_item & "="
      If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
        MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
      End If
    Next
    ' add the Form variables to the MM_keepForm string
    For Each MM_item In Request.Form
      MM_nextItem = "&" & MM_item & "="
      If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
        MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
      End If
    Next
    ' create the Form + URL string and remove the intial '&' from each of the strings
    MM_keepBoth = MM_keepURL & MM_keepForm
    If (MM_keepBoth <> "") Then
      MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
    End If
    If (MM_keepURL <> "")  Then
      MM_keepURL  = Right(MM_keepURL, Len(MM_keepURL) - 1)
    End If
    If (MM_keepForm <> "") Then
      MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
    End If
    ' a utility function used for adding additional parameters to these strings
    Function MM_joinChar(firstItem)
      If (firstItem <> "") Then
        MM_joinChar = "&"
      Else
        MM_joinChar = ""
      End If
    End Function
    %>
    <%
    ' *** Move To Record: set the strings for the first, last, next, and previous links
    Dim MM_keepMove
    Dim MM_moveParam
    Dim MM_moveFirst
    Dim MM_moveLast
    Dim MM_moveNext
    Dim MM_movePrev
    Dim MM_urlStr
    Dim MM_paramList
    Dim MM_paramIndex
    Dim MM_nextParam
    MM_keepMove = MM_keepBoth
    MM_moveParam = "index"
    ' if the page has a repeated region, remove 'offset' from the maintained parameters
    If (MM_size > 1) Then
      MM_moveParam = "offset"
      If (MM_keepMove <> "") Then
        MM_paramList = Split(MM_keepMove, "&")
        MM_keepMove = ""
        For MM_paramIndex = 0 To UBound(MM_paramList)
          MM_nextParam = Left(MM_paramList(MM_paramIndex), InStr(MM_paramList(MM_paramIndex),"=") - 1)
          If (StrComp(MM_nextParam,MM_moveParam,1) <> 0) Then
            MM_keepMove = MM_keepMove & "&" & MM_paramList(MM_paramIndex)
          End If
        Next
        If (MM_keepMove <> "") Then
          MM_keepMove = Right(MM_keepMove, Len(MM_keepMove) - 1)
        End If
      End If
    End If
    ' set the strings for the move to links
    If (MM_keepMove <> "") Then
      MM_keepMove = Server.HTMLEncode(MM_keepMove) & "&"
    End If
    MM_urlStr = Request.ServerVariables("URL") & "?" & MM_keepMove & MM_moveParam & "="
    MM_moveFirst = MM_urlStr & "0"
    MM_moveLast  = MM_urlStr & "-1"
    MM_moveNext  = MM_urlStr & CStr(MM_offset + MM_size)
    If (MM_offset - MM_size < 0) Then
      MM_movePrev = MM_urlStr & "0"
    Else
      MM_movePrev = MM_urlStr & CStr(MM_offset - MM_size)
    End If
    %>
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    function MM_nbGroup(event, grpName) { //v6.0
      var i,img,nbArr,args=MM_nbGroup.arguments;
      if (event == "init" && args.length > 2) {
        if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
          img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
          if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
          nbArr[nbArr.length] = img;
          for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
            if (!img.MM_up) img.MM_up = img.src;
            img.src = img.MM_dn = args[i+1];
            nbArr[nbArr.length] = img;
      } else if (event == "over") {
        document.MM_nbOver = nbArr = new Array();
        for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
          nbArr[nbArr.length] = img;
      } else if (event == "out" ) {
        for (i=0; i < document.MM_nbOver.length; i++) {
          img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
      } else if (event == "down") {
        nbArr = document[grpName];
        if (nbArr)
          for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
        document[grpName] = nbArr = new Array();
        for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
          nbArr[nbArr.length] = img;
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
      eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0;
    //-->
    </script><script language="JavaScript" src="mm_menu.js"></script>
    <link href="stylesheet.css" rel="stylesheet" type="text/css" />
    </head>
    <body onLoad="MM_preloadImages('images/nav_about_on.gif','images/nav_departments_on.gif','image s/nav_calendar_on.gif','images/nav_links_on.gif','images/nav_contact_on.gif','images/nav_h ome_on.gif','images/nav_forms_on.gif')">
    <script language="JavaScript1.2">mmLoadMenus();</script>
    <div align="center">
      <table width="760" border="0" cellspacing="0" cellpadding="0">
    <tr bgcolor="#ffffff" valign="top">
    <td><a href="index.html"><img src="images/logobar_left.gif" alt="GCFA: Serving the Church through the ministry of administration" width="186" height="103" border="0" /></a><img src="images/blurb.gif" alt="General Council on Finance and Administration. The United Methodist Church" /></td>
    </tr>
    </table>
    <table width="760" border="0" cellspacing="0" cellpadding="0" height="20">
    <form method="get" action="http://google.umc.org/search" name="xxx">
    <tr height="20" style="vertical-align: middle;">
    <td  bgcolor="#000000" width="580"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('about','','images/nav_about_on.gif',1)"><img src="images/nav_about.gif" alt="About Us" name="about" width="70" height="20" border="0" id="about" onMouseOver="MM_showMenu(window.mm_menu_0523125900_0,0,20,null,'about')" onMouseOut="MM_startTimeout();" /></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('departments','','images/nav_departments_on.gif',1)"><img src="images/nav_departments.gif" alt="Departments &amp; Services" name="departments" width="146" height="20" border="0" id="departments" onMouseOver="MM_showMenu(window.mm_menu_0516155917_0,0,20,null,'departments')" onMouseOut="MM_startTimeout();" /></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('forms','','images/nav_forms_on.gif',1)"><img src="images/nav_forms.gif" alt="Forms/Reports" name="forms" width="105" height="20" border="0" id="forms" onMouseOver="MM_showMenu(window.mm_menu_0523125955_0,0,20,null,'forms')" onMouseOut="MM_startTimeout();" /></a><a href="calendar.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('calendar','','images/nav_calendar_on.gif',1)"><img src="images/nav_calendar.gif" alt="UM Calendar" name="calendar" width="89" height="20" border="0" id="calendar" /></a><a href="links.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('links','','images/nav_links_on.gif',1)"><img src="images/nav_links.gif" alt="Helpful Links" name="links" width="39" height="20" border="0" id="links" /></a><a href="contactus.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('contact','','images/nav_contact_on.gif',1)"><img src="images/nav_contact.gif" alt="Contact Us" name="contact" width="78" height="20" border="0" id="contact" /></a><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','images/nav_home_on.gif',1)"><img src="images/nav_home.gif" alt="Home" name="home" width="38" height="20" border="0" id="home" /></a></td>
    <td bgcolor="#990000" width="51" align="center" style="font: 11px arial, helvetica, sans-serif; color: #ffffff;"><img src="images/btn_search.gif" alt="Search" width="51" height="20" /></td>
    <td bgcolor="#990000"><input name="q" type="text" size="15" style="font: 10px arial, helvetica, sans-serif;"/></span></td>
    <td width="33" bgcolor="#990000"><input type="image" name="submit" src="images/btn_go.gif" alt="GO!" width="31" height="20" /></td>
    </tr>
          <input type="hidden" name="sort" value="date:D:L:d1">
          <input type="hidden" name="output" value="xml_no_dtd">
          <input type="hidden" name="ie" value="UTF-8">
          <input type="hidden" name="oe" value="UTF-8">
          <input type="hidden" name="client" value="GCFA_GCFAorg_Frontend">
          <input type="hidden" name="proxystylesheet" value="GCFA_GCFAorg_Frontend">
          <input type="hidden" name="site" value="GCFA_GCFAorg_Collection">
        </form>
    </table>
    <table width="760" border="0" cellspacing="0" cellpadding="0">
    <tr valign="top">
    <td height="353" style="background-color: #dddddd; width: 150px;">
    <table width="150" border="0" cellspacing="0" cellpadding="0">
       <tr style="background-color: #990000;" height="25">
            <td style="font: bold 11px arial, helvetica, sans-serif; color: #ffffff; text-align: center;">Department Resources</td>
         </tr>
       <tr>
            <td><div style="font: 11px arial, helvetica, sans-serif; color: #000000; text-align: left; margin-left: 10px; margin-right: 10px; margin-bottom: 5px; margin-top: 5px;">
                <p>PDF documents require using the<span class="style5"><a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank"> latest version</a> </span>of the freely available Adobe Reader for proper viewing. Click on
                the <span class="style5"><a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank">Get Adobe Reader</a></span> link below for
                download and installation instructions. <br />
                <br />
                <a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank"><img src="images/get_adobe_reader.gif" alt="Get Adobe Reader" width="112" height="33" border="0" /></a></span><br>
       <a href="images/get_adobe_reader.gif" target="_blank"></a><br />
       </p>
            </div></td>
         </tr>
    <tr style="background-color: #3C5D15;" height="25">
    <td bgcolor="#DDDDDD" style="font: bold 12px arial, helvetica, sans-serif; color: #ffffff; text-align: center;"> </td>
    </tr>
    <tr>
    <td>
    <div style="font: 11px arial, helvetica, sans-serif; color: #000000; text-align: left; margin-left: 10px; margin-right: 10px; margin-bottom: 5px; margin-top: 5px;">
    <p><br />
    <br />
    <br />
    </p>
    </div> </td>
    </tr>
    </table>
        <p> </p></td>
    <td style="background-color: #000000; width: 2px;"><img src="images/pixel_black.gif" width="2" height="10" /></td>
    <td bordercolor="#FFFFFF" bgcolor="#FFFFFF" style="background-color: #ffffff; width: 610px;">
      <div style="margin-left: 20px; margin-right: 20px; margin-bottom: 20px; margin-top: 5px;">
        <table width="100%" border="0" cellspacing="2" cellpadding="2">
          <tr>
            <td height="285" align="left" valign="top"><p><font face="Arial" color="#990000"><span style="font-size: 16px; font-weight: 700">Episcopal Services Data Files</span></font></p>
              <p><font face="Arial" color="#990000"><span style="font-size: 16px; font-weight: 700"><br />
                </span></font>
                </p>
                <br />
                <%
    While ((Repeat1__numRows <> 0) AND (NOT rs_Results.EOF))
    %>
                  <table border="0" cellpadding="1" cellspacing="1">
                      <tr>
                          <td width="132" height="27" bgcolor="#DDDDDD"><div align="center"><strong>Department</strong></div></td>
                        <td width="371" bgcolor="#DDDDDD"><%=(rs_Results.Fields.Item("Department").Value)%></td>
                      </tr>
                      <tr>
                          <td height="22"><div align="center"><strong>Subpage Title</strong></div></td>
                        <td><%=(rs_Results.Fields.Item("SubpageTitle").Value)%></td>
                      </tr>
                      <tr>
                          <td height="26" bgcolor="#DDDDDD"><div align="center"><strong>Link Description</strong></div></td>
                        <td bgcolor="#DDDDDD"><%=(rs_Results.Fields.Item("LinkDescription").Value)%></td>
                      </tr>
                      <tr>
                          <td height="25"><div align="center"><strong>Date Last Modified</strong></div></td>
                        <td><%=(rs_Results.Fields.Item("DateLastModified").Value)%></td>
                      </tr>
                      <tr>
                          <td height="26" bgcolor="#DDDDDD"><div align="center"><strong>URL</strong></div></td>
                        <td bgcolor="#DDDDDD"><%=(rs_Results.Fields.Item("URL").Value)%></td>
                      </tr>
                              </table>
                  <br />
                  <%
      Repeat1__index=Repeat1__index+1
      Repeat1__numRows=Repeat1__numRows-1
      rs_Results.MoveNext()
    Wend
    %>
    <%
    rs_Results.Close()
    Set rs_Results = Nothing
    %>

    Please ignore my first post, it isn't right.
    I am new at this, although I did figure out the tutorial it still isn't what I am wanting. I am going to send an example page of want I my page to look like when I said page numbering  (I don't want first,prev,next, or last). I want numbers like the results you will get from this page. http://www.gcfa.org/Department_Resources.aspx Can I do this with ASP?
    If so so can someone please show me how? Thanks in advance. Maybe I have the right question this time.

  • Printing Page Numbers - From To

    Please can you help me.
    I am exporting a Crystal Report to PDF per customer through vb code.
    I need to print a maximum number of pages (that will fit in an envelope e.g. 20) and then continue printing his data into a second PDF where it left off.
    Therefore I am trying to print out the crystal report in my VB.NET code by specifying a "Page From" and a "Page To".  How can I do this??
    For example I want to be able to say Print out pages 1 to 20
    Then print out 21 to 40 but the page count in the 2nd report should say (1 to 20)
    Thanks
    Ric

    Don,
    Thanks for your help.
    Your solution to resetting page counts in the report might be part of a solution...
    First of all - How can I reset the page counts within a formula?
    However my problem is a little more complex...
    In my VB code, I output the Crystal Report as a PDF file.
    However in the example I gave, where the customer has 30 pages, I need to generate 2 PDF files.
    The first PDF will be called CUSTXYZ_1.PDF (contains pages 1 to 20).
    The second PDF will be called CUSTXYZ_2.PDF (contains pages 21 to 30 but numbered as 1 to 10).
    I still need to find a way to output one report as 2 PDFs with pages 1 to 20 in the first pdf
    followed by 21 to 30 in the 2nd PDF.
    Maybe in my vb code i need to find a way to say:
    Print Pages 1 to 20 in one PDF
    Then Print Pages 21 to 40 in the second PDF
    I am not sure how I can do that...
    Any more ideas??
    Ric

  • How to Display Page Numbers in RTF Template

    Greetings to all,
    We have a requirement in which we have to display the Page numbers on the output PDF.
    The scenario is , if the PDF contains10 pages,then on Pages , it should show Page 1/10,Page 2/10 etc.
    And If the output exceeds to more than 1 page, then on each page except the last one it should display "Continued" in the footer.
    Any comments on this would be of great help.
    Thanks,
    Sachin

    Hi Sachin,
    I have emailed you back the modified template, I have changed the following:
    What have I done in the template then?
    * Moved the Group: G_HEADERS place holder inside the <?start:body?> place holder.
    * Inserted a Section Break (Next Page) after the <?end body?> place holder for the main report. This creates what looks like a 3rd page
    * Added <?start@last-page-first:body?><?end body?> as the only thing on the 3rd page. The resets the headers and footers for the last page, so we need to declare the headers again. If the last page is actually the first page, then the first page will take the formatting of the last page.
    * Removed the "continued" from the Native Word footer and put it underneath the <?end body?> placeholder of the main template on page 2
    Let me know if you have any further issues.
    Rgds,
    Cj

  • Problem with opening/saving files in Pages/Numbers/Keynote

    Hello, First of all: sorry for my bad english.
    I had this problem already several months ago and already contact with the Apple hotline.
    The only thing that was said then and was helped "new user account" - well done.
    But:
    I can not do this every 3 months.
    The problem: I can not open a Pages / Numbers / Keynote files anymore.
    From iCloud / iCloud Drive it goes, locally stored open still.
    I'll get the error: "File can not be opened."
    Newly created files I can not save - no matter which hard disk - it will show "missing access rights"
    Of course, I've already deleted preferences, reset NV-RAM and repaired permissions (access rights) - via terminal "reset password" also.
    Anyone here knows this problem and knows a solution?
    Thanks in advance.
    configuration:
    MacPro (2009)
    2x2,93 GHz
    24 GB RAM
    SSD + HDD
    OS 10.10.2

    I have solved the problem.
    It occurred in connection with my scripture library „Font Explorer X Pro“.

Maybe you are looking for