Conditional Formula to supress page header in 1st page of the report
hi,
how to programatically add a conditional formula to supress a section only on the first page of the report.
i am using CR XI R2 RAS server.
thanks in advance
Padmanaban V
Try it first in CR Designer, then when you get the formula collect you'll see how it's done. If you can't do it in the designer then you can't do it in code, same set of API's.
Similar Messages
-
Conditional formula to supress a section in the first page of the report
hi all,
how to programatically add a conditional formula to supress a section only on the first page of the report.
i am using CR XI R2 RAS server.
thanks in advance
Padmanaban VHi Padmanaban,
You can download samples from [here|https://www.sdn.sap.com/irj/boc/businessobjects-samples]
Regards,
Shweta -
How to get the text field in the header for only first page of the report
Hi,
I am developing reports in BI Publisher Enterprise where i am facing problem i.e., i have to get some text field in header,for only first page in the result but it is displaying in all the other pages of the report in result.So,please if you have any idea of how to solve it, please reply.It is required as early as possible.
Thanks in AdvanceInvalid path? What are you doing? Writing the report output to an invalid directory?
Where are your terms and conditions? It would be very easy just to put them in a database table and select them in your report query. -
A group by field needs to appear on every page of the report.
Hi.
My rtf template has a word header which is the report descriptn that appears on evry page. The report is grouped by business unit and then grouped by job description. The problem is the business unit appears only first time when it gets changed and then it does not repeat its value until the next BU comes up. I want to display the BU on each page even though the value is same (just like as a heading of a section). I used the follwing tags. The one in bold is to solve the issue of puting the BU descr on each page. But does not work. Anybodys help is greatly appreciated.
*<?fld_BUSINESS_DESCR?>*
<?for-each-group:row_CU_DET_STG;./fld_BUSINESS_UNIT?><?sort
<?fld_BUSINESS_DESCR?>
<?for-each-group:current-group()/fld_JOB_FUNCTION?>
<?fld_JOB_DESCR?>
SidThanks alot Tim for spreading your expertise. That worked !!. I added the start and end body tag along with your solution of using the section with the group and it worked. Thanks alot again. However there is one prob now the page numbers are being reset and i dont want to reset it because the page numbers should continue in sequence till the end of the report despite of Business Unit change. Please any suggestion to solve this problem.
Edited by: user12107527 on Oct 27, 2009 6:50 AM
Edited by: user12107527 on Oct 27, 2009 9:06 AM -
How to avoid blank page in the report?
adding a field in the grouping and checking the page break option means then we are getting blank page as the first page of the report? How to avoid this blank page?
Usually blank pages appear as first page due to the presence of filler lines (//////) on top of report header.Please ensure that the top header is exactely started from top of page itself.
-
Values not getting displayed from first page of the report.
Values in the report is getting displayed from second page.
First page in the report only displaying the report title and column names.
Secone page onwards, data and column names are generated.
Can any one please help me, with the cause of the problem.what reporting tool?
Interactive Reporting
Financial Reporting -
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 based on the logic that it is the last page of the report
HI
I want to print something on the last page.For example,I have to print a image(signature) file on the last page.How can I have the logic that it is the last page or any counter or variable to find that it is the last page of the report??
Thanks in advance.Is there an example of this posted somewhere that actually works?
I have used this exact syntax in everyway, every location possible and it either locks my MSWORD window on preview or throws a Java error.
I am using the most current BIP template builder v10.1.3.2.1
Thanks,
Scott
Sample files below:
<?start:body?><?for-each:G_TEST?>
<?TEST1?> <?TEST2?>
<?TEST3?>
THIS SHOULD PRINT ON ALL PAGES
<?start@last-page:body?> PRINT ONLY ON THE LAST PAGE<?end body?>
<?end for-each?><?end body?>
<?xml version="1.0" encoding="WINDOWS-1252"?>
<TEST>
<LIST_G_TEST>
<G_TEST>
<TEST1>TEST Data Line Number One</TEST1>
<TEST2>Test Data Line 2</TEST2>
<TEST3>33 Test Data Line 3</TEST3>
</G_TEST>
<G_TEST>
<TEST1>TEST Data Line Number One</TEST1>
<TEST2>Test Data Line 2</TEST2>
<TEST3>33 Test Data Line 3</TEST3>
</G_TEST>
<G_TEST>
<TEST1>TEST Data Line Number One</TEST1>
<TEST2>Test Data Line 2</TEST2>
<TEST3>33 Test Data Line 3</TEST3>
</G_TEST>
<G_TEST>
<TEST1>TEST Data Line Number One</TEST1>
<TEST2>Test Data Line 2</TEST2>
<TEST3>33 Test Data Line 3</TEST3>
</G_TEST>
<G_TEST>
<TEST1>TEST Data Line Number One</TEST1>
<TEST2>Test Data Line 2</TEST2>
<TEST3>33 Test Data Line 3</TEST3>
</G_TEST>
</LIST_G_TEST>
</TEST> -
Displaying Footer on the Last Page of the report
Hi Experts,
We have a requirement to display footer on the last page of the report only.
Could you please guide how to acheive this.
Thanks in Advance,
Cheers,
Andy.Pls see this Blog.It may help you
http://blogs.oracle.com/xmlpublisher/2007/03/30/
Thx
Rahul -
How to remove header on last page of the report?
I am working on a RTF template for PO report. This is the format of the rtf i have.
<?start:body?>
<?for-each@section:G_HEADERS?>
All header fields
<?for-each:G_LINES?>
All Line Fields
<?end for-each?> --Line End
<?end for-each?> --Header End
<?end body?>
Give Section Break <Next Page>
Terms and Condition should come here on a new page
When I insert a section break for new page, the header that is on my 1st page of the template is repeating. Is there a way that I can stop the header from repeating on the last page? Please help me out with this issue.
Thanks,
SwethaThanks jimr for the response. This solved my problem.
The steps I followed are:
Click on section2 header. click on 'Link to previous'button on the headers toolbar so the link between section1 and section2 is removed.
Remove the header on the new page (section2). The header on the 1st page is retained while the header on the 2nd page is removed.
Thanks,
Swetha
Message was edited by:
Swetha -
Limit number of pages in the report
Hi
I am tasked to create a report to display only 10 pages maximum.
Please advise the way to do this.
1. I have suppressed all the sections with formula: PageNumber >10
This leaves a blank page at the end, which does not go even when i place Not OnLastRecord in paging option of the group footer.
2. I want to show the total number of records at the end of the 10th page, but it gets carried forward to the last blank page ( which i want to get rid off!)
3.the total number of records also included the number of suppressed records, whereas i want the count of records only visible.
Please help me to get this working.
Thanks & Regards
Sujata SnghHi,
1. I have suppressed all the sections with formula: PageNumber >10
This leaves a blank page at the end, which does not go even when i place Not OnLastRecord in paging option of the group footer.
Apply suppress Blank sections and check.
2. I want to show the total number of records at the end of the 10th page, but it gets carried forward to the last blank page ( which i want to get rid off!)
Display the total number of records only when page number = 10
3.the total number of records also included the number of suppressed records, whereas i want the count of records only
visible
This is becuase you are using a recordnumber special fuction. Try the following :
You are suppressing records based on some conditon like
If condition = true then suppress
use the same condition to count your records like
Whileprintingrecords; // place this formula in your detail section ( wHere you have detailed records)
Numbervar x;
if contion = true then
x:=x+1;
Create one more formula : and place this where you want to see total record numbers (page footer of 10th page)
Whileprintingrecords;
Numbervar x;
Thanks,
Sastry -
Hi,
I have a report which consists of 9 subreports in 2 tables..
When the run report I do see data.
when i export to a pdf and print preview the report in Bids.. i see data for the first 22 pages and then the remaining pages are blank with just the header showing up...
when i go to the pdf and select page 25 it is blank but when i go the report and not in print preview mode.. and i type in 25 in the page number data shows up on that page...
the report is set to a portrait and the margins are set to 0.
How can I solve this problems and why is it happening... the size of the sub report are the same..
Any help will be appreciated.
Thanks
KarenI should add that when I e-mail this document to myself and print it directky from the iMac, it prints fine.
-
Report Server 10g - unexpected font change on second page of the report
Hi all,
I'm having a problem with Oracle Report server 10.1.2.3.0.
It's sometimes using an unusual font (It think it looks like a Greek one).
One example would be when a text overflow from page one to the second page it will change from Times New Roman to a "Greek" font and switches from bold to normal font it still happens in the same "Text" type item just on a new page. However when I update the text in the DB to a longer one so it flows through the whole second page to the 3rd page then it's using the correct font again.
When I open the generated PDF file in a text editor I see an unusual value in one of the font settings "/BaseFont /#53#79#6D#62#6F#6C" when I edit it manually to the value taken from another occurrence of the "BaseFont" in the same file it helps and changes the font to the correct one.
When I export the report to the PDF from report builder it's always using the correct font.
The encoded font "/#53#79#6D#62#6F#6C" translates to: "Symbol"
select CHR(TO_NUMBER('53','xx'))||CHR(TO_NUMBER('79','xx'))||CHR(TO_NUMBER('6D','xx'))||CHR(TO_NUMBER('62','xx'))||CHR(TO_NUMBER('6F','xx'))||CHR(TO_NUMBER('6C','xx')) from dual;
The correct font is as expected "Times-Roman"
I noticed that this happens only when HTML code is allowed in the Text/field. When I generate HTML version of the report I see after the page break and new table on the new page the following tag <font face="symbol">. When I set Web Setting->"Contains HTML Tags" set to NO then font stays the same even after the page break.
Did anyone experienced something similar?
Thank you,
PaloWe have had this a few times before and there are 2 ways that most likley will fix this.
If on mac close all adobe apps, do a find for all files with the .lst in their file name. Delete all you .lst files, they are font database files that go corrupt and will regenerate themselves when needed and usually a working copy.
Close any multiple master fonts you have open in fontbook, and other utility such as Suitcase. Multiple master fonts will have a filename like "Kronos mm", and in the adobe illustrator type >> font menu i believe they have a different icon (possibly a mm) than the others {a(type 1), tt(true type), O (opentype)}
Your problem is likely the 1st option, as the mm problem usually happens while editing the file, while the other is after you open the file. If you still have the problem, you then may have 2 different fonts sharing the same FOND ID number. Close as many fonts as you can, especially the one that looks like your wrong font. -
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
ThanksHerbe,
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 -
Unable to see 2nd and 3rd pages on the report
Hi - I am facing an issue while developing a simple report. This report is based on a table called PROD.
DDL statement of PROD is:
CREATE TABLE PROD
(PID VARCHAR2(6),
PNAME VARCHAR2(6),
PCOST NUMBER(4,2),
PPROFIT NUMBER(3,0),
CONSTRAINT PROD_PK PRIMARY KEY (PID)
Table gets created. Now importing data into the table.
DML statement is:
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I4','SHARPR',10,1);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I5','RULER',15,10);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I6','ERASER',5,3);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I7','STAPLR',50,20);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I8','STPPIN',10,2);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I9','FILES',99,20);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I10','CALC',99,null);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I11','CD',99,90);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I12','COUPON',99,null);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I13','PHONE',60,30);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I14','AIRTME',99,90);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I3','PEN',20.5,20);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I2','FLOPPY',30,12);
Insert into PROD (PID,PNAME,PCOST,PPROFIT) values ('I1','PENCIL',5.25,null);
COMMIT;
Data gets committed.
Now I design a report based on the above. The report contains a main frame called M_1. This is just an enclosure to keep repeating frame and fields under M_1.
A repeating frame is also created. When the repeating frame is created, the property "Max records per page" is set to "5" such that I can display above 14 records into 3 pages.
I compile it and it compiles successfully. However when I run the report I only see 5 records on 1st page. The remaining pages do not appear at all. Do you think I am doing anything wrong here?
Vertical elasticity property of repeating frame is set to "variable" and when I change it to "expand", it still does not make any difference (I wish I could attach the report in this thread :-( )what is the print on object property of the frame(Fixed as well as the repeating frame)? I think this is reason.
Maybe you are looking for
-
List of odd stuff happening after a clean install
Hey I just got my Powerbook G4 back from repair, it needed a new hard drive. Anyways I've noticed some odd behavior since I have gotten it back from apple. First they saved the Admins short name as "a" which is really annoying anyway I can change the
-
Problem while updating the forecast value in m.master by direct input menth
Hi All Good Day I am updating the forecast value in material master by direct input method. my program is working fine when I am running it online. but when i am runnig in back ground I am getting one error which is mentioned below
-
hello Community: I'm stuck in writing limbo now , due to a bizarre and never before seen problem in Logic 9.1.4 a Sync or internal timing issue.....for no reason of my doing, this is what occurs: 1. Using my same Autoload setup used for years, and a
-
Hi, I have a scenario wherein we want to configure credit check at sales order level to not happen on sales order creation level, although there may be blocked sales order/delivery for same customer. Eg: Credit limit for X is set as 100/- Total value
-
i Sent a iTunes voucher to a friend of mine for his birthday, as of yet he has not received it (over 1 week ago). I looked at some forums and found that there is a way to resend the gift card, why would i need to do this? Logic would indicate that th