Printing Footer Only on the last page of adobe Form

Hi Experts ,
I have a requirement of printing text only on the last page of the adoe Forms.
I know how to do this in Smart Forms , but being a novice in adobe forms i am unable to get the exact place to puth these conditions.
Please reply ASAP.
Thanks

Thanks .
Problem Solved.
Here is the Code snippet in Formcalc language that i used in the intialize event
var curpage  = $layout.page ( ref ( $ ) )
var totpages = $layout.pageCount()
if ( curpage ne totpages ) then
$.presence = "hidden"
endif

Similar Messages

  • How to print grandtotal in table footer only in the last page in SMARTFORMS

    Hello Experts,
    How do I print the GRANDTOTAL in the table footer only on the LAST PAGE in SMARTFORMS.
    What I have done is in the text element of CELL1 of the table footer i wrote the folowing logic but not working.
    /: IF &SFSY-PAGE& EQ &SFSY-FORMPAGES&.
    * V_SUM.
    /: ENDIF.
    I even tried this.
    /: IF &NEXT-PAGE& EQ 0.
    * V_SUM.
    /: ENDIF.
    but still it displays the grand total on all pages at table footer.
    How do i go for this experts.
    Regards,
    Ranjith N

    HI Nambiar,
    To print the grand total only on the last page then create the secondary window --> create the text node for the grand total -->In the condition tab check only after the end of the main window.
    This grand total will be displayed after all the items and end of the main window.
    Footer in the table displays as the subtotals i.e on every page total is displayed..
    Regards,
    Sravanthi

  • How to make the footer text to come only on the last page

    Hi,
    Iam just making an print forms using adobe forms,Iam havinga text and some variable in the end of the page.these things need to be printed only on the last page.
    if my output of the main window comes for 2 pages then it should print only in the second page not in the first page.
    if the data of my main item data comes to one page then this should be printed on the first page itself.
    how to put a condition on this type of footer windows.
    Thanks in advance.
    regards,
    Sasidhar

    try with the following formcalc Scripting on the subform which contains the footer text...
         var curpage  = $layout.page ( ref ( $ ) )
         var totpages = $layout.pageCount()
         if ( curpage ne totpages ) then
             $.presence = "hidden"
         endif

  • Sapscript bottom text in Main, just for the last page, but printing only in the last page

    I need to print a text but only for the last page in the main window.
    I have tried with IF.
    IF &PAGE& = &SAPSCRIPT-FORMPAGES&
    BOTTOM
    ....TEXT
    ENDBOTTOM
    ENDIF
    But it prints in all pages in every main window.
    Can someone point me what I am doing wrong or how can I do this?
    Regards,
    Carlos

    Hello Carlos,
    the problem with this condition is the following.
    The Sapscript composer cannot know during the processing of e.g. the first page,
    how many pages will follow. So &SAPSCRIPT-FORMPAGES& still contains the same
    value like& PAGE& and is filled with the correct values only at the very end of the processing.
    (when the total number of pages is known).
    So I suggest you to use the BOTTOM command in the print program,
    when the processing of all item of the MAIN window is ended.
    There is an other variable &NEXTPAGE&.  &NEXTPAGE& will always be 0
    when it reaches to last page to print. The problem with this variable that
    it can not be used in a condition in MAIN window too, only in a separate page window.
    Regards,
    Hedvig

  • How can I print a label on the last page of the report in the margin

    I would like to display a label on my report but has to appear only on the last page of the report in the margin area or as a footer. I have tried using the solution below that I came across in this forum. This solution only worked if I put the label as a report trailer and not in the margin of the main section of report. The problem of putting the label as a report trailer is that it will only appear at the end of the report on it's own page, i.e. on a new page. I would like the label to appear at the end of the report, on the last page which has the other report details and not to appear on a new page on its own. Could you please help? Thanks.
    1. Create a dummy query, like
    select 1 dummy
    from dual
    2. Create a package spec:
    PACKAGE pkg_globals IS
    totalPages number(3);
    END;
    2. Create a repeating frame and field for this dummy at the end of the report layout.
    3. Create a format trigger for this frame:
    function R_1FormatTrigger return boolean is
    begin
    SRW.GET_PAGE_NUM(pkg_globals.totalPages);
    return (FALSE);
    end;
    4. Create a format trigger for your margin field:
    function F_1FormatTrigger return boolean is
    pagenum number;
    begin
    srw.get_page_num(pagenum);
    if pagenum = pkg_globals.totalPages then
    return (TRUE);
    else
    return (false);
    end if;
    end;

    user8655468 wrote:
    I would like to display a label on my report but has to appear only on the last page of the report in the margin areaCreate a fixed frame at the bottom of margin area and inside the frame put your label.
    set the frame print object on: Last page
    Hope this works..

  • How to print a label in the last page of the report

    Hi, I have a report af bottom page I trid to put a label, the label is in the margin, but when I change the print condition send me a error, illegal print condition, how can I print this label only in the last page at the botton of the page
    Thanks

    Herbe,
    You can do this using format trigger
    Please see the building reports manual / Tutorial for details
    at http://otn.oracle.com/docs/products/reports/content.html
    Thanks
    The Oracle Reports team

  • How to display grand total only on the last page of my report

    Hello
    I need to display the grand total amount of the invoice only on the last page of every report. If the report has 1 page then the grand total will be displayed on the 1st page. If the report has 2 pages then a subtotal will be displayed on the 1st page adding up all the amounts on page 1 only, and the grand total will be displayed on the 2nd page, adding up all the amounts of page 1 and 2. If the report has 3 pages then the a subtotal will be displayed on page 1 adding up all the amounts of page 1, and another subtotal on page 2 adding up all the amounts of page 2, and the grand total are displayed on page 3 adding up the amounts of every page.
    supplier amount
    xx 100
    yy 100
    subtotal 200
    page 1 of 2 --here i need to display only the total amounts of page 1
    supplier amount
    subtotal brought forward 200 --then i need to bring total of page 1 over to page 2
    qq 300
    zz 300
    total 800 --here i have reached the end of the report and  
    need to display the grand total
    page 2 of 2
    --Currently i am displaying this on my report
    supplier amount
    xx 100
    yy 100
    total 800 --this one gives the problem cause it displays the grand total
    ---------- on page 1 of 2 even before you can see the amounts on the
    next pages
    page 1 of 2
    supplier amount
    qq 300
    zz 300
    total 800

    put the grand total in a frame and set it to print on the last page of the enclosing object.

  • I want to display the Terms of my Order Purchase only at the last page

    I 'm new in xml publisher and i'm doing a template (order purchase). I want to print a terms only in the last page, in the end of each order number.
    I have this example:
    group G_CABECALHO by NRO_OC
    NR_OR: NRO_OC PAGE: <?fo:page-number?> / <?fo:page-number-citation:xdofo:lastpage-joinseq?>
    ITEM DESCRIPTION UNIT PRICE QUANT
    F NRO_LINHA_OC ....TAXABLE_FLAG E
    section break
    <?start@last-page-first:body?>
    TERMS AND CONDITIONS
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    <?end body?>
    page break end G_CABECALHO by NRO_OC

    Hi. The layout is not correct, i generate another order purchase with a lot of lines. The first order the layout is ok, but the second you will see the TERMS in the same page. What i need is to have the TERMS in every end of the orders and to have a fix line border of the layout.
    LAYOUT PAGE 1
    | ORDER 1 |
    | ITEM |
    | 1 |
    | 2 |
    LAYOUT PAGE 2
    | TERMS |
    | XXXXXXXXXXXXXXXXXXXXXX |
    | XXXXXXXXXXXXXXXXXXXXXX |
    |XXXXXXXXXXXXXXXXXXXXXX |
    LAYOUT PAGE 3
    | ORDER 2 |
    | ITEM |
    | 1 |
    | 2 |
    LAYOUT PAGE 4
    | TERMS |
    | XXXXXXXXXXXXXXXXXXXXXX |
    | XXXXXXXXXXXXXXXXXXXXXX |
    |XXXXXXXXXXXXXXXXXXXXXX |
    tks,
    Elene

  • How to print a field on the last page of Smartform?

    HI FRIENDS,
    I NEED TO PRINT ONLY ONE FIELD IN LAST PAGE OF FORM SMARTFORM
    HOW DO I CHECK last page. I tried WITH THE FIELDS OF TABLE
    SYSF BUT NOT worked.
    Thank you.
    ROGERIO VAZ

    Hi,
    Goto the conditions tab of that window and enable the check box for Only after the end of main window.
    This will surely print your field in the last page.
    try this and get back to me if any issues.
    Regards,
    Anand.

  • Items must appear only on the last page of a report region

    Hello everybody,
    I have a report region1, the report can contain many records thus I will have to paginate it....
    In the same page, I must have another region2 with some fields on it, but theses fields must appear only on the last page of my report,
    I don't succed to find a condition to apply to region2 in order to make it appear only on the last page of the report region1.
    Any help on this ???

    Assuming you have other content, you could:
    set the Print Object On property to be last page.
    anchor it to the main content that repeats on every page, so this frame only prints after the other one is done
    Assign a format trigger where you make it display only if current page is equal to total number of pages
    create a trailer and move the frame there

  • How do i make a frame a enclosing a repeating frame appear only on the last page of a report?

    I have a frame that encloses a repeating frame. How so i make them print only on the last page?

    Assuming you have other content, you could:
    set the Print Object On property to be last page.
    anchor it to the main content that repeats on every page, so this frame only prints after the other one is done
    Assign a format trigger where you make it display only if current page is equal to total number of pages
    create a trailer and move the frame there

  • Fields only on the last page of a report

    Hello everybody,
    I have a report region1, the report can contain many records thus I will have to paginate it....
    In the same page, I must have another region2 with some fields on it, but theses fields must appear only on the last page of my report,
    I don't succed to find a condition to apply to region2 in order to make it appear only on the last page of the report region1.
    Any help on this ???

    place those fields outside the repeating frame.
    Draw another frame . Place repeating frame inside it. place those fieds in the outside frame at the end and runthe report

  • How to display a field only in the last page

    hi all
    i am using reports 6i
    i ve created summary column and i need to get it displayed only on the last page of the report
    is it possible
    kindly guide
    thanking in advance

    Dear Friend,
    where you created the summary coloumn? If your summary column in at top level you can do this just placing summary field bottom all repeating frame (all frames).
    Regards
    Ahamed Rafeeque Cherkala

  • Printing text on last page of adobe form

    Hi abapers,
    My requirment is that i have to print a particular text in the footer.
    But this has to be printed only on the last page.
    how do i go about doing this.
    thanks in advance.

    Hi Aditya,
    Give the condition as.
    If &SFSY-NEXT-PAGE & = 0.
    print what text u wanna to print.
    endif.
    Best Regards,
    Flavya

  • How to get the last page  SAP Script form

    How to get the last page  SAP Script form.
    I want to print a specific information in the last page of SAP form (Script). Please tell me how to get the last page number.
    Regards

    Hi
    You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.
    From SAP Help:
    This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .
    Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
    /: IF &NEXTPAGE& = '0'
       Last page
    /: ENDIF
    Max

Maybe you are looking for