Conditional display in the row template!

Hi,
I created a report template and my report shows like this:
col1 col2 col3 col4 col5
a 4 5 6 7
b 4 8 7 2
Total 8 13 13 9
I am able to display all the above, but the column name should be "Total" at the end of the report when i am displaying the totals. totals also coming from the database, so i am not calculating here.
Shall i put any condition saying that if the col1 is null then col1 should display "Total".
Please suggest.
Thank you.

manyam16 wrote:
Actually I used the row template conditions to solve that. But I have added one more count in the database package, that column is coming into the report attributes, not showing in the report. any ideas?
I am using like this #COL50#where are you using this? if you are using this in column conditions, it will not work
thank you,

Similar Messages

  • Conditional bg color in row template

    I created a new row template for my report but I get the following error when I include it in the report:
    "Error ERR-1025 Error processing PLSQL expression. #missing_patches# = '-'"
    In the row template itself, I used the following values ("missing_patches" is the conditional column in the report-query):
    Row Template 1 (PL/SQL Expression): <td>bgcolor="yellow" #COLUMN_VALUE#</td>
    Row Template 1 Expression: #missing_patches# = "-"
    Row Template 2 (PL/SQL Expression): <td>bgcolor="red" #COLUMN_VALUE#</td>
    Row Template 2 Expression: #missing_patches# <> "-"
    Anybody an idea what I am missing? Thank you.
    Thomas

    Well, bgcolor should be inside the <td> tag, but bgcolor is depricated in HTML 4.x. You should really be using classes or inline styles.
    Tyler

  • Display all the rows in the table with Varray

    I created two Varrays
    CREATE TYPE phone_varray AS VARRAY(3) OF NUMBER(10);
    CREATE TYPE email_varray AS VARRAY(3) OF varchar2(30);
    CREATE TABLE ee
    (id number(2),
    phone phone_varray);
    now i inserted some rows into ee table and displayed it as:
    SELECT e1.id,e2.COLUMN_VALUE"PHONE NO" FROM ee e1,TABLE(e1.phone) e2;
    ID PHONE NO
    1 1111111111
    1 2222222222
    1 3333333333
    1 1111111111
    1 2222222222
    1 4444444444
    4 1111
    4 2222
    4 33334
    5 1111
    5 2222
    5 33334
    Then i altered the table with email_varray
    desc ee;
    Name Null? Type
    ID NUMBER(2)
    PHONE PHONE_VARRAY
    EMAIL EMAIL_VARRAY
    I updated some rows:
    update ee e1 set email=email_varray('aasda') where id=4;
    and when i try to display the table data by:
    SELECT id,e2.*,e3.* from ee e1,TABLE(e1.phone) e2,TABLE(e1.email) e3;
    it only displays the rows that contain all the details like
    ID COLUMN_VALUE COLUMN_VALUE
    4 1111 aasda
    4 2222 aasda
    4 33334 aasda
    and not all the rows that are in the table which have id and phone and email as NULL
    need help to display all the rows in the table.

    will this work for you ?
    SELECT e1.id,e2.COLUMN_VALUE as PHONE_NO, null as email FROM ee e1,TABLE(e1.phone) e2
    union
    SELECT e1.id,null,e3.column_value as email from ee e1, TABLE(e1.email) e3;

  • Conditional display based on row count

    I have a report region with sql query (PL/SQL function body returning sql query). In this region i have text item above the report. I would like to have a condition on this item that it should only show if there exists records in the report (row count > 0).
    How can this be done?
    Best regards
    Erik

    There are many options available for conditional display. You can use this one here:
    http://apex.oracle.com/pls/otn/f?p=31517:7
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • MIME object/Image(JPG) not displayed in the WAD template

    Hello all,
    I uploaded a .JPG file to mime repository. I used that object my WAD template. When i excute the Temapate, image file is not displayed just showing X mark.
    But i am able to open/see the file from the mime repository.
    What could be the problem? please let me know.
    Reagards
    Ravi

    Hi Anil,
    Thanks for your reply. I have found the problem.
    Imaage that i have kept in mime belongs to https protocol. BSP application with SSL, needs https to execute in the browser.
    when i execute the template, by default WAD is using http protocol, so the image is not displaying, when i use https, the image is being displayed in the WAD output.
    Regards,
    Ravi

  • How to display All the rows in a Table

    Hi All,
    Our requirement is, we need to display all the records of an VO in a table. We should not have navigation bar with previous and next. Runtime only will come to know how many records the VO has. Is it possible to achieve our requirement using setNumberOfRowsDisplayed() method in OATableBean ?

    Do u want to do it declaratively or programmatically.
    Declaratively You can set no of rows property of table bean. If u want to set it programmatically then u can do it as discussed in the thread..
    Regards,
    Ram

  • How to display all the rows in a report

    How will it be possible to show all the rows in a report, in a table view , other than modifying the table properties for each report individually ?
    Is there some setting, so that for all tabular reports, all the rows will be displayed in one page?
    I have added the following to the instanceconfig.
    <Table>
    <ResultRowLimit>1000000</ResultRowLimit>
    <MaxCells>1920000</MaxCells>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>64000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>64000</DefaultRowsDisplayed>
    <DefaultRowsDisplayedInDelivery>2000</DefaultRowsDisplayedInDelivery>
    <DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    </Table>
    Still I can view only 25 rows for the report.
    Thank you.

    Hi,
    Open your report--> Select Table view--> Edit view properties-->Row per page --> Give here 9999999.
    It will show all the rows in the report.
    Hope this help's
    Thanks,
    Satya

  • Report not displaying all the rows

    Hi Experts,
    We are having a report which when ran for a year as a filter criteria gives me 6725 rows and i also observe that there are more rows which are not getting displayed. Is there any restriction with the no of rows getting displayed. I am also able to find the specific information of a particular vendor when i explicitly filter it. Which would otherwise not get displayed in the normal report execution for the entire year. Thanks
    Warm Regards,
    Akilesh

    Hello Akilesh,
             This is the issue with your Bex Analyzer...! please update ur Bex with all the latest patches. I am sure this report sould be running on other mechines...
    I will try to find the concern patch in t he mean while..!
                   EnjoySAP

  • Conditional display of report row

    Hi All,
    I've a report form and have a LOV for a column. Based on the data selected in the LOV I need to populate some more rows to that report.
    It is basically like a survey page where depending on the answer provided by the user, sub suvery question needs to be populated. For example if I select "Married" for maritial status another question should be populated asking for Spouse Name. All the queries are stored in a same table with Parent question ID to link Child question to Parent Question.
    Any clue on how to do this.
    Thanks in advance
    Prasanth

    a. It is a report on table and one column is editable with a LOVThat is Tabular Form or Updatable report. Implies there is a ApplyMRU/ApplyMRD process to perform the update.
    >
    b. APEX 4.1
    >
    The solution will depend on your database design. You may need to review in the light of the page design you will do.
    I don't think I will get into the code for this as it will be fairly nifty and will require a study of your database design.
    At a high level:
    a. Create a table(s) for keeping your questions, say Questions.
    b. Next you need to decide how you want to store your "rules" for selecting questions based on prior responses. Rules may be built into the database design or external processing based on column(s) in the question rows.
    c. Create a table for Responses. Populate it with the mandatory questions.
    d. Base your Tabular form on the Responses table
    e. Each time a use makes a selection in a row's LoV submit the page to loop back on to itself.
    f. In OnSubmit processing, after the Responses table has been updated, add the relevant rows from your Questions table to the Responses table using your rules in a Page Process.
    h. When the Form is displayed again the new questions will be displayed as the corresponding rows have been inserted into the Responses table in the process referred to above.
    Of course, you will need to write some more code for situations where a user goes back and changes the Lov of a prior question that affects related questions....
    Cheers,

  • Conditional display based on Page Template

    I'd like to make some conditional display based on Page temlate value (definition). Example:
    return page_template='TABS';With such an feature it will be easy to exclude some elements defined on "Page 0" on some pages. I know that this could be done by enumerating page_id's...but in this way it will be much flexible...
    Is there such a feature? Will it be ever possible?

    A more flexible way (IMHO) to do this sort of thing would be to define onload application-level computations that set a application item to either SHOW or HIDE depending on the conditions you need. Then make the Page 0 components conditional upon this application item's value.

  • How to get the HTML data formatted display using the Rrt template

    hi,
    I have a table which has data with html tags in it.
    eg as shown below.
    sample text is as follows:
    <BR>
    <b>MY TEST HERE HAS SOME BOLD TEXT IN IT. THIS WHOLE LINE SHOULD BE BOLD</b><br>and the rest of the text will not be bold.
    <BR><br>
    now I want to be able to display this text with the proper format using BI publisher / rt template.
    my report shows the tags as is instead of being formatted.
    please let me know how i can fix this
    Thanks
    knut

    http://blogs.oracle.com/xmlpublisher/2007/01/02.

  • How to display all the rows in a JTable ???

    Hi,
    i want to display blank lines in a JTable if there is not enough rows to fill in it. For the moment, there is nothing in the JTable if i have nothing in my tables. Where am i wrong ??
    Thanks !!

    hi,
    use a contructor for jtable with the parameter rowcount or
    define a tablemodel class extends from abstract tablemodel mit the method int getRowCount()
    { return xxx;}
    table.setModel(mymodel);

  • Line Chart doesn't display all the rows

    Hi Friends,
    I have created a Line Chart with Flash Chart type.
    My query returns 52 rows but on the chart it shows only 15 values on the x-axis.
    Is there any thing that I need to specify for maximum number of rows ?
    You can see my example here : http://apex.oracle.com/pls/otn/f?p=1504:11:4822346801294712:::::
    I appreciate your replies.
    Thanks,
    Raj.

    Goshhh...I dont know how I missed to see the 'Maximum Rows' field in Chart Series page :)
    -Raj.

  • Conditional display to the region

    Hi, I need to show or hide a region depending on the value of an item in another region. I try with the condition "value of item in expression1 = expression2 " and in the box of expression1
    :P29_ID
    in the expression2
    1
    And nothing happens, the region disappears and never shows again.
    Please, help me!

    Try using P29_ID in the field for expression 1 (without the colon).
    ~Dietmar.

  • Conditional display in the report.

    Hi, I have a report on the page that dislplays values (numeric). Is it possible to dislplays null values as N/A in the column?
    Thanks in advance.
    Robert

    Hi,
    In classic and interactive report have option "Show Null Values as"
    How to replace Interactive Report "-" for null columns fields with blanks?
    Br,Jari

Maybe you are looking for

  • HT1933 I am unable to open iTunes on my iPhone 4S after downloading iOS7. How can I fix this or report it to Apple?

    After downloading iOS7 on my iPhone 4S, I can not open the iTunes app. When I click on the app, the "page" pops up but then quickly crashes.

  • Error in repository creation in OWB

    Hi Experts I m tying to create one repository REP_OWNER at my Onsite server. But at the time of creation i m getting the below error. Please suggest me the solution to overcome this. Error : java.sql.sqlexception. lo exception. coneection reset Thank

  • Oracle AWM

    Dear community, I would like to create cubes and to perform olap analysis by Oracle. I read that there is an Oracle tool named AWM (Analytic Workspace Manager) that do exactly this. The problem is that I can't find the download link in the Oracle Dow

  • Macbook Pro wont power on... at all

    Macbook Pro mid-2010 model. Epic fail of spilling something across my Macbook... it immediately turned off followed by me immediately removing the AC adapter and flipping it upside down. Waited 30 mins... powered it on... it booted and seemed ok. Pow

  • SA540-K9 poor perfomance?

    We replaced a Linksys RV082 using two external a ADSL modems by a SA540-K9, we advice a very poor load balancing and a lot of desconnections, p.e. when we are using FTP, the connection was disconnected, we need to try several times to download files,