Answer Posted / 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 |
Post New Answer View All Answers
List out the oracle forms configuration files?
if u want to delete all these detail block etc what will happen in form
a text item is there what r the different types of triggers associated with it
in after report trigger if you don't write Srw.user_exit(Fnd_user exit) what it will do it will stop report execution or it will just not free the memory
Is it possible to have multiple layouts in a report?
If the valueset if of type –TABLE then how many tables can we attach in the valueset ?
what is difference between group above and group left report
What is a canvas in oracle forms?
i am writing a query select EmpNo from Emp how can i call in after parameter form
What is the difference between bind and lexical parameter?
What is responsibility and how u attach How to create user and how u attach with responsibility.
what is tripstop report?
what is a package n what r the packages availbla in report
how to use buttons,check boxes in paper layout,paper design and paper parameter form in oracle report developer 10g
how to send file attachment from oracle forms