How to create placeholder columns?

Answers were Sorted based on User's Feedback



How to create placeholder columns?..

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

How to create placeholder columns?..

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

Post New Answer

More Oracle Forms Reports Interview Questions

How i get the client m/c IP address.

2 Answers  


WHAT IS THE ORACLE FORM TRIGGER WHICH CAN BE FIT IN ALL THREE LEVELS i.e., IN FORM LEVEL, BLOCK LEVEL AND ITEM LEVEL ?

1 Answers   TATA, TCS,


Can you truncate a table in a procedure in Oracle Forms?

2 Answers  


what is the difference between oracle reports 6i and oracle reports 10g? give atleast 10 differences? (plz give the answer vvvvvvvvvvv.urgent)

1 Answers   IBM, Oracle,


What are the Built-ins used for sending Parameters to forms?

2 Answers  






List the Types of Items?

1 Answers  


how to load data into base tables

1 Answers  


How to create placeholder columns?

2 Answers  


Can a field be used in a report wihtout it appearing in any data group?

1 Answers  


Name the two files that are created when you generate the form give the filex extension ?

2 Answers  


what are bind variables?

0 Answers  


Two popup pages can appear on the screen at a time ?

1 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)