Conditional display symbol

Hello

I want to display a conditional symbol if the number of rows for a particular item exceeds a limit. For example, if I have 5 rows of address in my xml file, and I want to see only 4 in the model and view a symbol if there more history available.

My line is:

for each UGSchoolDetailsVORow

and my code is:

<? for each: UGSchoolDetailsVORow [position () < 5]? >

I want to only display 4 records, but I also want to display a ~ symbol if there is more than 4 files

Thank you very much

James

Send me your model and rtf

Tags: Business Intelligence

Similar Questions

  • 2 conditional display for link column

    Hello

    I use Oracle Apex 5.0.2 and I have a report that contains a link to the column. The report contains various user_ids and shows some qualities of these users. I want to make the link in the column of conditional display based on two conditions.

    1. If the user who is viewing the page is an administrator

    2. If the user who visits the page is not an administrator, but sees its own information in this report.

    The 1st condition, I know how to implement it using PL/SQL expression. I stored the role: APP_USER in a P1_USER_ROLE and check if P1_USER_ROLE = "administrator."

    For condition 2, I know how to implement it using the "value of the element / the expression 1 column = Expression 2.» And I put just expression 1 #USER_ID # and expression 2 P1_USER ID (an element which stores: APP_USER).

    I was wondering if there is a way to simultaneously implement these two conditions together. Thank you!

    kevinsun91 wrote:

    I use Oracle Apex 5.0.2 and I have a report that contains a link to the column. The report contains various user_ids and shows some qualities of these users. I want to make the link in the column of conditional display based on two conditions.

    A "report"? Always tell exactly what you mean by this term: standard report, interactive, component report shared report query or some sort of tabular form?

    1. If the user who is viewing the page is an administrator

    2. If the user who visits the page is not an administrator, but sees its own information in this report.

    The 1st condition, I know how to implement it using PL/SQL expression. I stored the role: APP_USER in a P1_USER_ROLE and check if P1_USER_ROLE = "administrator."

    For condition 2, I know how to implement it using the "value of the element / the expression 1 column = Expression 2.» And I put just expression 1 #USER_ID # and expression 2 P1_USER ID (an element which stores: APP_USER).

    Here are the two different requirements. The first is a restriction on the level of columns that can be implemented with the help of a condition on a column in report or a link. The second is a restriction on the level of the lines who cannot. It is not possible to report using #COL_ALIAS # overrides row values in the State of the reference column. It would be unwise to do so: how APEX can determine if the column should be included or not until all rows are retrieved?

    The conditions of type 'values in the column"referred to value of element / column expression... are those generated by the tabular form wizard, which can be referenced in these expressions for run level row and process validation conditionally based on the submitted values. An example might be triggering a validation not Null in COMMISSION when JOB = 'SELLER '.

    Conditional display of level line in the reports always is possible by including the necessary logic to the report using CASE or other expressions query.

    I was wondering if there is a way to simultaneously implement these two conditions together.

    It is not possible to do in a State of the column. It must be made in the report query using a CASE expression:

    ...
    case
      when    :p1_user_role = 'Administrator'
           or user_id = :p1_user_id
      then
        ... --- Construct link URL
    else
      null
    end col_link
    ...
    

    In other circumstances where it is possible to combine several conditions, use a PL/SQL Expression condition with several predicates and required Boolean.

  • Conditional display for interactive report columns

    The APEX 4, one of the options in the conditional displays for the columns was 'PL/SQL function body returning Boolean ". I had a function that returns a Boolean value, and I stuck my function call in the text like this:


    return DISPLAY_FIELD (: APP_USER( )

    "I don't see" ""PL/SQL function body returning Boolean " option 5 APEX. What should I use to call the same function to hide and show the column in the report?

    bobmagan wrote:

    Thank you. Using PL/SQL Expression will give best performance? Some of my reports have 80 + items, which must undergo this check.

    Probably not what you have seen. Have less well.

    And if I use PL/SQl Expression, what is the syntax I need?

    this:

    DISPLAY_FIELD(:APP_USER) = TRUE

    For functions that return a Boolean value, just use the function call:

    display_field(:app_user)

  • Textarea conditional display based on the value of the checkbox.

    Hi all

    I have a question regarding the conditional display of an article based on the value of the checkbox.

    I have a checkbox in a region, which is a STATIC LOV:; Y and the text box in the same region. Now I want to show this textarea only if the check box is selected. ??

    Please suggest how to achieve this.

    Thank you

    DC

    Hello

    I guess that you are 4.2 Apex as you haven't shared the same.

    • Create a dynamic Action on change of box which should present the value of the checkbox and update the TextArea element.
    • Then continue as conditional Textarea with checkbox value.

    BR,

    Patrick

  • Conditional display based on the value of line

    I have a report table with several lines on it.  I need to post a link to another page of user action if a value in the line corresponds to an attribute of the user's role, so they can act on the item.  Other display or update the document would not be able to run the link.

    The logic of nickname would go something like this:

    If user_role = role_this_line_item then

    display approval_link

    on the other

    Hide approval_link

    end if

    I know how to write pl/sql to return to the display of the correct state of true/false, but I can't find out how to reference the value on the display line.  I tried: role_this_line_item, role_this_line_item, #role_this_line_item # and none of them return one value other than false.  How to refer to an attribute on the current line of the decision to hide/show correct?

    Al

    Al Wondra says:

    I use V4.2.6 Apex in local installation of Oracle 11 g XE.  I tried with IE, Firefox and Chrome.  None has the conditional display.

    The report is a standard report created using the Apex report wizard.  I'm one of the columns (the ID of the line) changing to conditionally a link to a page to data entry.  I only need one line at a time to be the active link.  No line should have a link, if the user is not the role is required to perform this action.

    You have described my question exactly, it seems, that the conditional rendering is applied to the entire column.  I need that it is applied to specific lines.  Some lines (1) will be the active link.  All other lines does not display the link.  Is this possible?

    If you want the value of the ID to display for each row returned by the report, but only rendered as a link, if the condition is true? The values used in the State come "role_this_line_item" seems to be a value of a column in the report. "User_role" is also a column value?

    The simplest option is to modify the column attribute display as for the Standard report columnID column and conditionally generate the link in the report query:

    select
        ...
      , case
          when user_role = role_this_line_item
          then
            'where DATA_ENTRY is the 'data entry page' target number or alias of the page.

  • How to trigger a conditional display based on a dynamic Action without submitting the Page

    Hello

    Using Oracle APEX v4.2 on 11g, I have the following scenario and wanted to take other people on how to accomplish what I'm trying to do, i.e.:

    In region 1, I have a select item list page called P1_SELECTION, which contains selections from drop down to the user to choose from the following three: A1, B2 and C3

    In region 2, I have two checkbox elements:

    P1_CBOX1 I gave a conditional display of ' point value / Expression 1 column! = 2 expression, where Expression 1 = P1_SELECTION and Expression 2 = B2, so P1_SELECTION! = B2

    P1_CBOX2 I gave a conditional display of ' value of the point / column Expression 1 = Expression 2 where Expression 1 = P1_SELECTION and Expression 2 = B2, then P1_SELECTION = B2 .

    Use of dynamic Action on the evolution of the P1_SELECTION in region 1, how can I trigger the correct display of the checkbox in region 2, with the default view of the region 2 checkbox being P1_CBOX1, without submitting the entire page, just refreshing each of the elements checkbox to trigger the conditional display correct?

    For example, on the changes of P1_SELECTION = B2 then entire submission without page, only P1_CBOX2 is presented to the user in other P1_CBOX1 is displayed.

    Is this possible?

    Thank you.

    Tony.

    Hi Tony,.

    condition your dynamic action on P1_SELECTION with the following condition of javascript: this.triggeringElement.value = "B2".

    Add real actions that will show P1_CBOX2 and hide P1_CBOX1

    Add false actions and going hide P1_CBOX2 show P1_CBOX1

    Set the dynamic actions to fire on Page load

    Kind regards

    Erik-jan

  • Help with conditional display and Validation

    Version 4.1.1.00.23

    Hello

    I'm having a difficult time with a conditional display and validation, I hope someone can help with.

    Requirements:

    When (Datepicker) Start Date or the end Date (Datepicker) change can display the reason for change (select list) and change Description (Textbox)
    If the page is saved without entering a reason change display an error message of validation that the reason for the change cannot be empty (NULL)

    What I tried

    Create a dynamic Action on the Start Date

    Event: Change

    Selection type: Article (s)

    Items (s): P51_START_DATE

    Condition: no

    Real Action Section:

    Action: Show

    Fire on Page load: Checked

    Display all the elements of the page on the same line: NO.

    Section of the elements concerned:

    Selection type: Article (s)

    Product (s): P51_CHANGE_REASON, P51_CHANGE_DESC

    I also created a dynamic Action with similar settings for the P51_END_DATE.

    I created a Validation for the P51_CHANGE_REASON as a function return error text:

    DECLARE
        v_start_date    work_items.start_date%TYPE;
        v_end_date      work_items.end_date%TYPE;
    BEGIN
        SELECT start_date
              ,end_date
        INTO   v_start_date
              ,v_end_date
        FROM   work_items
        WHERE  work_items_id = :P51_WORK_ITEMS_ID;
        IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
              :P51_CHANGE_REASON IS NULL ) THEN
            RETURN 'Change Reason must have a value';
        END IF;
    END;
    
    
    

    The question

    I tried to create another dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields during the loading of the page, but when the date fields are changed and the validation is fired the P51_CHANGE_REASON and the P51_CHANGE_DESC are hidden again.

    There are two buttons to send the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will present the page and creates a branch to the previous page (which is a relationship with the EDIT buttons to change recording).

    I can not loading the dynamic Action page for fires DO NOT when validation is triggered.

    I hope it is clear and if not what information can I provide?

    Thank you

    Joe

    Which the condition is failing and what browser? I tested it in Firefox and it works as it should. Can you confirm that?

  • Conditional display of HTML5

    APEX 4.2 theme 25 DB Oracle 11 GR 2 - I need to conditionally display Html5/Flash graphic areas depending on the browser compatibility, does anyone have ideas on how to do this. Thanks in advance.

    Hi rich,

    With APEX 4.2, we integrated AnyChart 6 cards that gives users the ability to create graphs of HTML5 and Flash graphics. Something to note is that Flash graphic 4.2 automatically use the AnyChart rendering type "FLASH_PREFERRED": http://anychart.com/products/anychart/docs/users-guide/migration-guide.html#from-5.1.x-to-6.x-rendering-types. This setting means that when Flash is available, the table will be rendered in Flash. However, when the Flash is not available, the table will be rendered under HTML5. It is an automatic failover with the parameter "FLASH_PREFERRED". This will therefore remove potentially your need to conditionally display the graphic regions based on browser compatibility.

    Kind regards
    Hilary

  • Conditional display based on Web browser

    Hey,.

    Is it possible to place a conditional display on APEX elements depending on the Web browser they are using?
    I have a plugin which is extremely useful on IE7 and FF, however most of our users are on IE6, and of course the plugin does not work.

    So if I can I'd like hide the Combobox plugin and automatically fill the area of text instead.

    Thanks in advance
    Ozzy



    APEX Version - 4.0.1.00.03

    Hello

    Try the PL/SQL expression condition to detect IE6

    UPPER(owa_util.get_cgi_env('HTTP_USER_AGENT')) LIKE '%MSIE 6%';
    

    Kind regards
    Jari

  • Conditionally display column report

    Hello

    I want to display the column report under certain conditions.

    I've created a report. There are several columns as. BILL BILL NO, DATE, METHOD OF PAYMENT, CHECK, CHECQUE DATE, THE TOTAL AMOUNT

    Now, I want to display only no. BILL, BILL DATE, MODE of PAYMENT, TOTAL AMOUNT when I select the MODE of PAYMENT in cash in the select an ITEM list

    And

    I want to display only BILL No., DATE of INVOICE, PAYMENT METHOD, CHECK number, CHECK DATE, TOTAL AMOUNT when I select the check PAYMENT METHOD in the select an ITEM list

    How can I conditionally display column of the report.


    Thank you
    Ed

    If you go to report attributes, you can specify conditions for specific columns.

    As you wait to conditionally display items based on what is selected in the selection list, you now have the page to refresh. For example, change the selection list to select the list to submit.

    Then you should be able to add a condition, according to the value of the selection list.

  • Conditionally display different images in a report

    Hello. I have a simple report. In a column of it, I have a link to another report. Display a picture using the column rather than display the value of the column, text of the link to the column binding property.

    I put in the link text field, a < img src = "#WORKSPACE_IMAGES #my_image.jpg" > tag.

    Works like a charm - on the report that the column displays the images of small icon that can be clicked take the user to another page.

    I would conditionally (based on the real value of the row of the column) show two different images. Think of a green arrow pointing at vs a red down arrow.

    How can I do?

    Or can I at least have the image above display under certain conditions and if the condition is not met, not display anything?

    I noticed that each page an attribute of the column in the report has the conditional display section. How does for a column?

    Thank you
    Boris

    Use an expression box in the query, for example

    ...
    case
      when x <= 50 then 'down.png'
      else 'up.png'
    end icon
    ...
    

    Change the link text field to

    <img src="#WORKSPACE_IMAGES##ICON#" alt=""/>
    
  • Conditional display with several conditions of PL/SQL

    Hi guys,.

    I want my chart to conditionally display 2 points, 1. a selection list is not null (TO_CHAR(:P7_DB_LIST)! = TO_CHAR (666)) and 2. the maximum value in a query is above a certain amount such as 2000. The idea is that I currently have a graphical display in MB. 40 000 MB is not something big to see so after a certain point, I want to display a graph in GB instead. So I want 2 graph both depends on the LOV is not null, but who need the value of the query less than 2000 and the upper.

    I don't know if its possible to have two parolees working together in one conditional display of the APEX (PL/SQL Expression)?

    Mike

    Damaged by: ATD on August 11, 2009 06:20

    Mike,

    Laughing out loud! Welcome to PL/SQL ;)

    Packages are not very difficult to get, but perhaps we should start over with a stored function a package... Here's the gist:

    CREATE OR REPLACE
    FUNCTION size_is_valid (
       p_svc_app      IN VARCHAR2,
       p_svc_app_name IN VARCHAR2
    ) 
    
       RETURN BOOLEAN 
    
    AS
    
       CURSOR max_size_cur
       IS
          SELECT max(size_mb) AS size_mb
          FROM [email protected]
          WHERE svc_app_name = size_is_valid.p_svc_app_name
             AND svc_name = size_is_valid.p_svc_app;
    
       l_max_size_rec MAX_SIZE_CUR%ROWTYPE;
       l_retval       BOOLEAN;
    
    BEGIN 
    
       OPEN max_size_cur;
       FETCH max_size_cur INTO l_max_size_rec;
       CLOSE max_size_cur;  
    
       l_retval := l_max_size_rec.size_mb > 500;
    
       RETURN l_retval;
    
    END size_is_valid;
    

    Then your new validation of test should be:

    BEGIN
    
       RETURN size_is_valid(:P7_DB_LIST, :P7_PROJ_LIST);
    
    END;
    

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen

    You can reward this answer by marking as being useful or correct ;-)

  • Conditional display - obviously does not work and I do not know why!

    I have a few buttons and conditional display makes me mental

    I put a very simple condition in as value of element in the expression 1 = zero

    then, in the expression 1 set P82_DUPLICATE

    then run the P82_DUPLICATE page element is clearly 0 and the button does not appear

    Help me!! its driving me crazy

    Thank you very much

    Chris

    Chris

    At the bottom of the page when logged in as a developer, you should have a number of links which is 'Session' - this will display a pop-up of the current values of the items in session state.

    If the page is not submitted then the value may still not there. If you need to dynamically work without submitting the page then you will need to use AJAX.

    Please check it for me and I should be able to help.

    See you soon

    Ben

  • Conditional display on multiple items?

    Is it possible to use several elements in the region of the conditional display of a report? For example, I try to use the
    'Value of element in the Expression 1 = Expression 2' and when I fill 1 element with the value of the expression 2 it simply works great, but if I try to place 2 elements that would equal the two expression 2 it doesn't.

    I tried

    Term 1:
    P14_ITEM1, P14_ITEM2

    Expression 2:
    10

    Is this possible? And if yes is there a different syntax I should using the Expression 1 identify my points?

    Thank you

    Zala

    Zala,

    Use a PL/SQL Expression condition type and enter the Expression 1:

    : P14_ITEM1 = '10' and: P14_ITEM2 = '10'

    .. .for example.

    Scott

  • Non-anglais display symbols

    Driver Max update Intel AMD & drivers gave place to the English no symbols displayed on LCD Desktop & printed! Online search provided no English equivalent. What driver/routine effects the correct output? I decoded the alphabetic characters, but not numbers. In addition, the main characters of each word are replaced by a rectangle, short upward, that I interpret as NULL.

    Hello Ronald.

    Looks like that character set has been changed to simply view these strange characters.

    You type in hexadecimal.

    You took the display driver of the boot in safe mode image, and we still see the behavior.

    So I come to what I first thought, and say that our character set has been changed to another group of characters.

    I'll move this forum thread hardware and drivers Windows Vista on the Windows Vistadesktop and personalization for the moment forum and see if they can bring something to light.

    Best regards

    Matthew_Ha

Maybe you are looking for