How to create placeholder columns?
Answers were Sorted based on User's Feedback
Answer / sudipta santra
1. In Report's Data model part, click on Placeholder column
from toolbox, then a placeholder column will be created with
default name CP_1 as like if u want u can change the name.
2. Go to the PL/SQL by right clicking on the newly created
placeholder column in data model.
function CP_1Formula return char
begin
return null;
end;
3. Click on Formula column from toolbox, then a formula
column will be created with the default name CF_1/CF_2 as
like that, if u want u can change it's name.
4. Go to the PL/SQL by right clicking on the newly created
formula column in data model.
function CF_1Formula return number
begin
if :stock<10 then
:CP_1:= 'Too less stock';
elsif :stock<50 and :stock>10 then
:CP_1:= 'Average stock';
else
:CP_1:= 'Good stock';
end if;
return 1;
end;
Note: Here the placeholder column is used with the null
carrying result but when the formula be used then the
placeholder will get value and will carry this in report.
And also we can use this anywhere in report as according
application requiremnt needs.
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / sikdar
1.To create a column within a group, click in the group at
the position you want the column placed in the hierarchy.
To create a report-level column, click in an open area of
the canvas region
2. Double-click the placeholder column object.
3. In the Property Inspector, set the desired
properties for the placeholder column.
4. Set the value of a placeholder column in
| Is This Answer Correct ? | 7 Yes | 7 No |
Two popup pages can appear on the screen at a time ?
How do u print the data horizantally by using XML report? EX:Suppose there is one table names as SAMPLE in that we have only two columns say empno,ename.I want the output like this,At run time user may enter 3 colums(i.e to data print horizantally). empno ename empno ename empno ename 100 aaa 101 bbb 102 ccc 103 ddd 104 eee 105 fff
what is place holder column
What are the built-ins used for finding object ID functions?
if i want to change the functionality of a item in report during runtime how like what do u write in when_button_pressed
difference between place holder and formula column
3 Answers Cognizant, IBM, Microsoft,
what are bind variables?
What is a timer?
Which parameter can be used to set read level consistency across multiple queries?
what are the new features introduced in oracle form services in 11g release 2?
What are the two panes that Appear in the design time pl/sql ?
What are User Exits and what are different types of User Exits in Oracle Apps ?