Placeholder & Formula column

hello friends,
Can we use formula column into place holder column and vice-versa?
Avinash Deokar

We can store value to placeholder column by using formula column.
placeholder is just like a display item.
regards
rajesh

Similar Messages

  • Using Sybase query in Placeholder/Formula columns

    Hi,
    This is addendum to the post subjected as "JDBC query with Sybase database".
    I am working with 9i Reports builder conecting to Sybase db through jdbc-odbc component. I can execute any statement in the form of query / procedure in jdbc query wizard.
    I would like to know, how can i give/execute sybase compliant sql statements in placeholder, formula or for that matter any other place in reports builder.
    Say, I have selected a column of in char format "020925" which represents a date of 25th Septemeber'2002. I want to give a statement like, "convert(datetime,'020925')", which converts to date format.
    How can I specify this statement in a formula column.?? (formula column plsql editor recognize only oracle related statements)
    Thanks & Regards
    Anand

    Hi Sachin,
    So you mean to say, any other feature of Reports builder can't be used along with Sybase db. say triggers, local procedure / functions, etc.,
    Is there any workaround to this setback?
    Rgds
    Anand

  • Placeholder & Formula Column Functionally

    Hi gurus,
    Can any one of you please tell me, What is difference between Placeholder
    column and Formula Column Functionally.
    Any help is highly welcome.

    Your question is a Report question, please post it in the [url http://forums.oracle.com/forums/forum.jspa?forumID=84]Reports Forum.And before you post your question, just do a little search there and you'll find 100s of answers to your question.
    Tony

  • How to use formula column,placeholder column in data template option

    Hi All,
    Can you some idea on these concept with example.
    Thanks in adv

    >
    formula column,placeholder column
    >
    it's oracle reports terms?
    http://oraclebizint.wordpress.com/2007/08/22/oracle-reports-to-bi-publisher-conversion-utility/
    http://eoracleapps.blogspot.ru/2009/04/how-to-convert-oracle-reports-in-bi.html
    so convert your oracle reports to bi publisher and you'll see mapping for your case

  • Diff. between Formula column and Placeholder column

    Can any one explain me the difference between a formula column and place holder column in Reports.

    Place holder columns are used to hold a value and they are populated by formula columns and in the following places.
    - the Before Report Trigger, if the placeholder is a report-level column
    - a report-level formula column, if the placeholder is a report-level column
    - a formula in the placeholder's group or a group below it
    (the value is set once for each record of the group)
    But Formula columns perform a user defined computation on one or more columns including placeholder columns. You can set the value of placeholder column in a formula column. But you cannot set the value of a formula coulmn in a placeholder column's PL/SQL.
    Regards,
    Siva B

  • Formula Columns are not working in Reports 10g

    Hi,
    We converted the reports developed in Reports 6i to Reports 10g. When we run the report in Reports 10g Builder everything works fine. But when we deploy the same report in Oracle Application Server and invoking the report the formula columns are not working ie., the fields/ placeholder columns which are based on the formula column are not displaying any values in the report.
    Please, someone help us in this regard.
    Thanks & Rgds,
    M T

    What version of Reports do you use..???
    Greetings...

  • Place Holder Formula column in reports doing problem

    Hi
    I am working on some existing reports where there are many palceholders formula coloumns using no return values and they are blank and giving me errors
    can anybody tell me what should i write on that place holder formula columns for the return values
    should i write return 0 fro number and return null for char
    or any other values from some package or field
    please guide me
    Thanks
    Junaid

    palceholders formula coloumns Are they placeholder Items or formula items ? As you say they are missing return values i would guess its formula-items.
    should i write return 0 fro number and return null for char In general, formual items should return some meaningful value depending on the requirement behind the report, if they do not:
    Are they used somewhere in the report ? If not, delete them instead of returning some useless value. If they are used, you're up to the requirement again and have to check whats the sense behind it.

  • Place holder and formula columns help

    Hi All
    Can any one help for me.. how to create placeholder column variable, then how can i assign the variable in formula column to populate.
    As report Output Requirement :
    I have two columns col1 and col2 . based on report parameter (selection type )
    Ex :
    1. select 1 means its need to display col1 , hide the col2
    2. select 2 means its need to display col2 , hide the col1
    3. if they non of selection means need to display both col1 and col2
    can you guide me , how to do task in oracle reports
    Regards
    Sanjay

    Hi Rohit,
    Thanx for ur reply ..
    But when i try to open that link it gives me the following error
    Sorry. This page does not exist.
    The URL you requested could not be found on this server. Please check the spelling in the URL or use our search to find what your are looking for. Thank you.
    Can u suggest me some other place which gives me a precise explanation with some EXAMPLE too ...?
    Thanx again in advance

  • Can we use formula column in lexical parameter in sql query ...

    hi
    can we use formula column in lexical parameter in sql query ...
    as example
    i want to give
    select * from & c_table
    forumula
    function c_table
    if :p_sort = 1 then
    return 'dept'
    else
    return 'emp'
    end;
    c_table formula column
    is this possible ...
    i have such example in oracle apps reports
    if i try in ordinary report usinf emp table it show error ..
    how we can give formula column...
    please help me in this regard...
    Edited by: 797525 on Feb 20, 2012 9:31 PM

    thanks sir,
    iam not exactly saying select * from &c_table but some thing that like columns in select stmt also will be populated in user_parameters ,there are lot of table select.......from     mtl_demand md,     mtl_system_items msi,     mtl_txn_source_types     mtst,     mtl_item_locations loc     &C_source_from &C_from_cat
    &c_source_from and &c_from_cat formula column and there are defined at report level only ......
    pl/sql code &c_source_from is
    function C_source_fromFormula return VARCHAR2 is
    begin
    if :P_source_type_id = 2 then return(',MTL_SALES_ORDERS mkts');
    else if :P_source_type_id = 3 then return(',GL_CODE_COMBINATIONS gl');
    else if :P_source_type_id = 6 then return(',MTL_GENERIC_DISPOSITIONS mdsp');
    else if :P_source_type_id = 5 then
         if :C_source_where is null then
              return NULL;
         else
              return(',WIP_ENTITIES wip');
         end if;
    else if :P_source_type_id = 8 then return(',MTL_SALES_ORDERS mkts');
    else if :P_source_type_id is null then
    return(',MTL_SALES_ORDERS      mkts,
    MTL_GENERIC_DISPOSITIONS mdsp,
    GL_CODE_COMBINATIONS gl ');
    else null;
    end if; end if; end if; end if; end if; end if;
    RETURN NULL; end;
    this is forumula column i hope that you understand what iam saying
    please help me in this regard....
    thanking you...

  • How to make an order on repeating frame using Formula Column?

    Hi All,
    I have a repeating frame dependent on some query, how to make an order on this repeating frame using a formula column defined in its group and dependet on values from the query?
    Note: I'm using Reports 6i

    Place your formula column at the top of the itm group and set the BREAK_ORDER to assc.. or desc...
    Hope this helps
    Hamid
    if problem solved, close the thread.

  • How to display a Sum field for a formula column?

    Hi,
    I need to display a sum for a formula column at the end of report. for example: my formu_col=col_1-col_2
    col_1 col_2 formu_col
    3 1 2
    6 5 1
    total:sum(col_1) sum(col_2) sum(formu_col)
    now i have sum(col_1) and sum(col_2), but i don't have sum(formu_col)
    thanks

    Hi
    You may add a summary column in the same data group that you have sum(col_1) and sum(col_2). In that properties of the new column point the source as formu_col.
    Hope this helps.
    Fouwaaz

  • Using PL/SQL in a formula column in Oracle Reports Builder.

    Hi,
    I need to SUM two record from the result of an SQL interrogation.
    Here's what it looks like
    function CF_1Formula return Number is
    nTot1 NUMBER :=0;
    nTot2 NUMBER :=0;
    begin
         select sum(:TOT1) into nTot1 from table(Q1) ;
         select sum(:TOT2) into nTot2 from table(Q1) ;
         return (nTot1 + nTot2);
    end;I'm kind of new to formula column programming any link of interest would be appreciated.
    The from table(Q1) part Q1 represents my SQL interrogation name and the group below it is G_MAIN.

    Hi Hong Kong King Kong,
    From looking at that function name (and the group name): Is this an Oracle Reports generated function?
    If so, there's also a dedicated Reports forum: Reports
    By the way, I like your synonym for 'query'.
    I'm sure I'll confuse some of my collegues tomorrow when I will mention 'database interrogation' instead of 'query'. ;)
    edit
    Doh...I should not underestimate the information that is posted in thread subjects.
    Edited by: hoek on May 5, 2010 9:24 PM

  • How to add a formula column in a report

    Hi
    I have made a report based on a query.
    There are 3 columns in the query and all the 3 are displayed.
    Now I want to add a new column (fomula column) to the report.
    I want to write a query inside the formula column. To execute the query col1, col2 and col3 values are required in the formula column.
    Could you please tell me how to add a formula column in the report and how to pass database column value to inside the formula column
    regards

    Here is how you would create a formula column:
    Open data model of the report.
    Formula column button is on the left side of the tool palette.
    Click on that button.
    Now click in the query group where you want to place the formula column.
    You would see a new field something like CF_1. That is the formula column.
    Double click on the field CF_1. It will open property inspector.
    You would see, Datatype of the formula column is Number. Change this as per your requirement.
    Double click on PL/SQL Formula property. It would open up a editor. Here you can write the code.
    And now to access the data model column here, you can use : and column name. i.e. :col1 or :col2, etc
    And remember you have to return the value back to the formula column. Like this: RETURN(some value).
    You can also take a help from here:
    http://download.oracle.com/docs/html/B13895_01/orbr_howto.htm#sthref1309
    Hope this helps.

  • Formula Column help please - URGENT

    I'm trying to create a formula column as follows:
    function NO_REPLIESFormula return Number is
    NOREPLY number;
    begin
    SELECT COUNT(reply) INTO NOREPLY
    FROM letters
    WHERE reply = 'N'
    GROUP BY ltrtype, batch;
    RETURN (NOREPLY);
    end;
    This PL/SQL compiles fine, but when I run the report, I get the following messages:
    REP-1401 no_repliesformula FATAL PL/SQL error occured. ORA-01422 exact fetch returns more than requested number of rows.
    If I remove the GROUP BY ltrtype, batch, I don't get the error messages, but the result I get is the total no_replies instead of the total no_replies for each ltrtype/batch grouping.
    Could someone please help me with this?
    Thank you.

    Hi irish,
    I think i am not sure about what you are trying to say, but let me guess, You want the values to be return on the bases of "ltrtype, batch". Which mea that you want more then one values, i mean there can be more then one Groups based on ltrtype and batch. and you want to display these values with repective record???
    If i am right, then there is a fault in your code, and that is , you are not specifing in your code that which value is to be diplayed with which record in this report. For that there must be ltrtype, batch colums displayed in the report, you must add those values in your Code in the query, i.e.
    function NO_REPLIESFormula return Number is
    NOREPLY number;
    begin
    SELECT COUNT(reply) INTO NOREPLY
    FROM letters
    WHERE reply = 'N' and ltrtype= :V_ltrtype and batch=:v_batch;
    RETURN (NOREPLY);
    end;
    Where :V_ltrtype and :v_batch are the run time values of each records displayed in the report.
    Remember that if you don't sepecify this then your code will return as many records as many distich values of ltrtype, batch. and your variable NOREPLY can hold only one value at a time. I hope you understand both, Solution and the logic behind the error.
    Please correct me if i am wrong.
    Thanks.
    Mohib ur Rehman

  • Formula Columns are not appearing in pdf format

    hi all,
    i have a report that contains some formula columns, the report is running correctly in the report builder, but when running the report through the web as .pdf format all report field appear except those formula columns,
    is there anyone who can help me?
    M. Hammouri

    What version of Reports do you use..???
    Greetings...

Maybe you are looking for

  • Save as HTML - tables?

    Hello, we are trying to save the FM document as HTML using the built in save as functionality. The tables are exported, but no ruling/borders and straddling information is reflected in the output HTML. Does anybody know if there is a way to make FM t

  • UTF-8 to CESU-8 conversion

    Hi, all. What is the easiest way to convert UTF-8 data into CESU-8? I'd like to use the bulk loader (LOAD command in hdbsql) to load my Japanese data into the HANA table. The iconv utility on SLES 11 SP1 does not seem to support CESU-8. Thank you, -m

  • Condition type value is uploaded in inventory ,how can avoid this in import

    Dear Friends, I am doing Import , in import pricing  having two condition type which are copy of FRB2 . Where i am putting Amount and vendor name. ex. 1) CUSTOM VAT - AMOUNT - AND - VENDOR AS SRILANKAN CUST, 2) CUSTOM NBT - AMOUNT - AND - VENDOR AS S

  • Need new bios for A8M2N-LA in m7580n

    Placed new motherboard in m7580n, board is A8M2N-LA.  Installed new memory 2 gig, new hard drive, and new power supply.  Worked perfect for three hours and it rebooted to bios check sum error.  Searching for cd rom boot drive and then floppy boot dri

  • How to set a system property via the config tool?

    Hello, how can I set a system property via the config tool? Before I chose WAS from SAP I used java with option -D<name>=<value> to set the system properties. Very much thanks in advance. Regards Carsten