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
Similar Messages
-
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 800put the grand total in a frame and set it to print on the last page of the enclosing object.
-
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 header fields names in the next page in report6i
how to display repeat header field names into the next page in report6i urgent plz......
When i am runing report in 1st page only the header information is displaying in 2 page the header info is not displaying only records are displaying.So i want to display the header info in 2nd page also.
Plz help out.Hello,
Go to the report layout model and select those items/objects which are not getting display on next page and open the property pallet by pressing F4 key and set the property Print Object On to All Pages then it will display on all pages.
-Ammad -
How to display amount in words in the last page
Hi,
I am very new to Oracle Report, but v.good experience in Crystal report.
How can i display amount in words for an invoice amount total in the last page of the invoice and after total amount. I created a new non repeating frame and put the amount in words inside that, and set the frames diplay property Print on Last Page, but the problem is already there is a repeating frame to print all the invoices item, and the total in figure. But the amount in words frame is not always coming after the total amount,either it should be at the bottom of the last page in fixed position, otherwise it should move just below the total amount.
I am using Oracle 11g.
Thanks in advance...
FslHi ,
Use This function
create or replace FUNCTION xxg4_zen_conv_words (p_amount IN Number) RETURN Varchar2 IS
--Creation Date : 11-DEC-2009
--Purpose : This Function returns amount in words.
--Parameters :
--1) p_amount : Only positive and negative values are allowed.
Precision can be entered upto 10 digits and only 2 scales
are allowed e.g 9999999999.99
-- Index by Tables to store word list
TYPE typ_word_list IS TABLE OF Varchar2(200) INDEX BY BINARY_INTEGER;
t_typ_word_list typ_word_list;
TYPE typ_word_gap IS TABLE OF Varchar2(200) INDEX BY BINARY_INTEGER;
t_typ_word_gap typ_word_gap;
-- Local Variables
v_amount Number := p_amount;
v_amount_length Number;
v_words Varchar2(10000);
v_point_found Varchar2(1) := 'N';
v_point_value Number;
BEGIN
/*Getting value after point if found */
v_point_value := SUBSTR(v_amount,(INSTR(v_amount,'.',1) + 1),2);
/*Checking whether amount has any scale value also */
v_point_found := CASE WHEN (INSTR(v_amount,'.',1)) = 0 THEN 'N'
WHEN (INSTR(v_amount,'.',1)) > 0 THEN 'Y'
END;
/*Converting amount into pure numeric format */
v_amount := FLOOR(ABS(v_amount));
v_amount_length := LENGTH(v_amount);
t_typ_word_gap(2) := 'and Paise';
t_typ_word_gap(3) := 'Hundred';
t_typ_word_gap(4) := 'Thousand';
t_typ_word_gap(6) := 'Lakh';
t_typ_word_gap(8) := 'Crore';
t_typ_word_gap(10) := 'Arab';
FOR i IN 1..99
LOOP
t_typ_word_list(i) := To_Char(To_Date(i,'J'),'Jsp');
END LOOP;
IF v_amount_length <= 2
THEN
/* Conversion 1 to 99 digits */
v_words := t_typ_word_list(v_amount);
ELSIF v_amount_length = 3
THEN
/* Conversion for 3 digits till 999 */
v_words := t_typ_word_list(SUBSTR(v_amount,1,1))||' '||t_typ_word_gap(3);
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,2,2));
ELSIF v_amount_length = 4
THEN
/* Conversion for 4 digits till 9999 */
v_words := t_typ_word_list(SUBSTR(v_amount,1,1))||' '||t_typ_word_gap(4);
IF SUBSTR(v_amount,2,1) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,2,1))||' '||t_typ_word_gap(3);
END IF;
IF SUBSTR(v_amount,3,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,3,2));
END IF;
ELSIF v_amount_length = 5
THEN
/* Conversion for 5 digits till 99999 */
v_words := t_typ_word_list(SUBSTR(v_amount,1,2))||' '||t_typ_word_gap(4);
IF SUBSTR(v_amount,3,1) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,3,1))||' '||t_typ_word_gap(3);
END IF;
IF SUBSTR(v_amount,4,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,4,2));
END IF;
ELSIF v_amount_length = 6
THEN
/* Conversion for 6 digits till 999999 */
v_words := t_typ_word_list(SUBSTR(v_amount,1,1))||' '||t_typ_word_gap(6);
IF SUBSTR(v_amount,2,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,2,2))||' '||t_typ_word_gap(4);
END IF;
IF SUBSTR(v_amount,4,1) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,4,1))||' '||t_typ_word_gap(3);
END IF;
IF SUBSTR(v_amount,5,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,5,2));
END IF;
ELSIF v_amount_length = 7
THEN
/* Conversion for 7 digits till 9999999 */
v_words := t_typ_word_list(SUBSTR(v_amount,1,2))||' '||t_typ_word_gap(6);
IF SUBSTR(v_amount,3,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,3,2))||' '||t_typ_word_gap(4);
END IF;
IF SUBSTR(v_amount,5,1) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,5,1))||' '||t_typ_word_gap(3);
END IF;
IF SUBSTR(v_amount,6,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,6,2));
END IF;
ELSIF v_amount_length = 8
THEN
/* Conversion for 8 digits till 99999999 */
v_words := t_typ_word_list(SUBSTR(v_amount,1,1))||' '||t_typ_word_gap(8);
IF SUBSTR(v_amount,2,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,2,2))||' '||t_typ_word_gap(6);
END IF;
IF SUBSTR(v_amount,4,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,4,2))||' '||t_typ_word_gap(4);
END IF;
IF SUBSTR(v_amount,6,1) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,6,1))||' '||t_typ_word_gap(3);
END IF;
IF SUBSTR(v_amount,7,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,7,2));
END IF;
ELSIF v_amount_length = 9
THEN
/* Conversion for 9 digits till 999999999 */
v_words := t_typ_word_list(SUBSTR(v_amount,1,2))||' '||t_typ_word_gap(8);
IF SUBSTR(v_amount,3,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,3,2))||' '||t_typ_word_gap(6);
END IF;
IF SUBSTR(v_amount,5,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,5,2))||' '||t_typ_word_gap(4);
END IF;
IF SUBSTR(v_amount,7,1) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,7,1))||' '||t_typ_word_gap(3);
END IF;
IF SUBSTR(v_amount,8,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,8,2));
END IF;
ELSIF v_amount_length = 10
THEN
/* Conversion for 10 digits till 9999999999 */
v_words := t_typ_word_list(SUBSTR(v_amount,1,1))||' '||t_typ_word_gap(10);
IF SUBSTR(v_amount,2,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,2,2))||' '||t_typ_word_gap(8);
END IF;
IF SUBSTR(v_amount,4,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,4,2))||' '||t_typ_word_gap(6);
END IF;
IF SUBSTR(v_amount,6,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,6,2))||' '||t_typ_word_gap(4);
END IF;
IF SUBSTR(v_amount,8,1) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,8,1))||' '||t_typ_word_gap(3);
END IF;
IF SUBSTR(v_amount,9,2) != 0
THEN
v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,9,2));
END IF;
END IF;
IF v_point_found = 'Y'
THEN
IF v_point_value != 0
THEN
v_words := v_words||' '||t_typ_word_gap(2)||' '||t_typ_word_list(CASE WHEN LENGTH(SUBSTR(p_amount,(INSTR(p_amount,'.',1) + 1),2)) = 1 THEN SUBSTR(p_amount,(INSTR(p_amount,'.',1) + 1),2)||'0'
WHEN LENGTH(SUBSTR(p_amount,(INSTR(p_amount,'.',1) + 1),2)) = 2 THEN SUBSTR(p_amount,(INSTR(p_amount,'.',1) + 1),2)
END);
END IF;
END IF;
IF p_amount < 0
THEN
v_words := 'Minus '||v_words;
ELSIF p_amount = 0
THEN
v_words := 'Zero';
END IF;
IF LENGTH(v_amount) > 10
THEN
v_words := 'Value larger than specified precision allowed to convert into words. Maximum 10 digits allowed for precision.';
END IF;
RETURN (v_words);
END xxg4_Zen_Conv_Words;
--Thanks
SAGAR SANKPAL -
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 NHI 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 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 -
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,
Sasidhartry 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 -
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_OCHi. 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 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.. -
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 -
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,
CarlosHello 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 -
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.
ThanksThanks .
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 -
Photosmart C6380 only prints the last page in documents
My printer only prints the last page of multi page documents. To choose more than one page in a page interval in the print menu does not help, but it is possible to print all pages in a document if I only print one page at a time which takes forever for longer documents. I use Windows 7 64 bits and it used to work until the end of 2011. If I uninstall drivers and reinstall, it sometimes work for a short while and then the problem comes back. All my drivers are updated and I run the printer on wifi.
Just to add some information: I do not get any error messages, blinking lamps or anything like that. I've got the same problem independent of file-format as it seems. I have tried word-files, pdf-files and to print from the web browser Explorer.
-
How to get safari to open to the last page I was on and screens to enlarge automatically?
Hello, I just upgraded to the latest iMac version from my 2010 model, and whenever I close and open up safari it opens to top siotes instead of the last page I was on, and every time I open it I have to enlarge it myself by clicking the arrows in the top right. Same happens with everything else, like the app store. How do I change this so whenever I go to safari it opens to the last page I was on and has safari, app store, etc. have large screens right away? I set up my old iMac 3 years ago, and I guess I must've done something to have it do this, but I forgetn what I did. Thank you in advance
Hello there, Clumn.
The following Knowledge Base article provides some general tips for Mavericks that may address your issue:
OS X Mavericks: General preferences
http://support.apple.com/kb/ph13803
Particularly of note:
Close windows when quitting an application
If you quit apps with windows still open on your screen, selecting this checkbox prevents the windows from reopening automatically the next time you start their app.
This feature when not selected will allow the application to reopen windows automatically when you open the app.
Additionally, this article provides information on how to set windows Full Screen:
OS X Mavericks: Take apps full screen
http://support.apple.com/kb/PH14302
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro.
Maybe you are looking for
-
Macports/digiKam - install in ADMIN-account or as USER ?
Hi, for all my main apps, I want to switch over to open source / cross-platform. With the discontinuation of iPhoto, I think this would be a good moment to do this for my photo app, since one has to switch anyway. I chose digiKam. To install it on a
-
Urgent Need Help Nokia C3 Hanging Lots !!!
Hi friends I have just buy new nokia c3 one month ago i like it service but it gone hanged many of time a day i am in a big problem please help me!!!! looking for answer and thanks in advance
-
..but pastes in black and white. What am I doing wrong?
-
Adobe reader crash continuosly iPad air
Why its happening When i editing a document?
-
Create Organization & assign forms bulk action
How can you create organizations by a bulk action, Is it possible to assign userform & viewuserform along with this bulk action As well as is it possible to assign a admin user to each Organisation