Interactive report conditional display has a bug

Please:

1 - create a field named: p_myfield (default 5)
2 - create a CD to any table
3 - chose to any column and define a conditional posting about it.
My example is->
condition type: pl/sql expression
Code: p_myfield < 10

If you run the report, this column appears correctly as the condition is true.
If you start to play with IR, do together or sort by any column, the column with condional display DISAPPEARS! He appears again if you refresh the page or run the report again.

I know, when you play with IR, it does not recognize: p_myfield more. (The field value is null).

No workaround or patch solution?


Thank you.
David.

Hello

I tried just everything and that you do not get this problem.

How do you define the default? I tend to do it by using a calculation of page depends on the element is null.

Andy

Tags: Database

Similar Questions

  • Interactive report, conditional display of the column binding

    Hello

    We have obligation to disable editing in case this field is 1 (1 = closed).

    Is it possible to disable it on interactive report.

    -case when status = 1 link in the column should be disabled (not visible) in order to prevent future changes on the payroll.

    SELECT payroll_no, status

    OF hr_payroll

    ORDER BY payroll_no DESC;

    I tried the link below, but it does not work in my case.

    http://nerd.NET.au/24-Apex-application-express/report-layout/92-conditionally-show-report-link-column-based-on-value-of-...

    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production

    Request Express 4.2.2.00.11


    Thank you in advance,

    Best regards, FM

    Status of the INCIDENT WHEN 'ACTIVE' = then


    '
    OTHER END null deactivate_employee.

    Of

    EMPLOYEES

    What exactly is the error you get? What HTML is displayed in the HTML source code?

    Just by looking at it, I would say that you need to remove the "/" before the f? p

    Don't forget not this way could cause problems if you start using the checksum, then you might want to look at the use of APEX_UTIL. PREPARE_URL to create your URL.

  • Interactive report with display of the icon to set the page element

    Hi all

    I am currently using Apex 4.2.4, I have an interactive report using icons, each icon has a link to another page but a few I want to set a value in a page hidden in the same page element which is then used as a variable for a classic report.

    I have this work via link href in the icon as f? p ='|| FA.page |': 1 :'|| : app_session |': P10_ID_ITEM :'|| FA.link_name without error.

    My problem is that I wanted to put the value of the element without using a link href that I could handle the clicked icon to change the background color so that the user can have a Visual representation, where it was clicked, then using the value of the page item appears the classic report in another region with a partial refresh.

    Any help is appreciated, thanks.

    Can you provide a detailed explanation of the purpose of this report and the logic used in the report query? What are the rules to control which icons appear in the IR, what icons link to the second report on the page of IR, and icons to link to separate pages?

    For me, the report query seems too complicated and inefficient by returning the data it does, and if another level of data is added to the hierarchy or more data is added to the second level, it fails with:

    ORA-01427: einreihig subquery returns multiple rows

    I'm guessing that the intent is that the IR displays only the icons at the top level of the hierarchy and icons for posting a link to a different page when they have no descendants, or to display the related lines in the secondary report below the IR when they do. I created a new page with the report query modified to a route of tree and keep the upper level lines. It is much more effective than the original query and simplifies the logic necessary for the verification of end-nodes. Instead of generating a URL link (which violates the separation of concerns), the query returns of the discrete values that can be used to implement the HTML link in the Icon View link Custom property:

    with icon_tree as (
          select
              ic.id_icon
            , ic.icon_name
            , ic.link_name
            , nullif(connect_by_isleaf, 1) is_parent
            , level depth
          from
              icons ic
                connect by
                    prior ic.link_name = ic.id_parent
                start with
                    ic.id_parent is null)
    select
        id_icon
      , icon_name
      , link_name
      , apex_util.get_blob_file_src('P10_ICON_IMAGE', id_icon) img_src
      , nvl2(is_parent, '586', link_name) target
      , nvl2(is_parent, 'P586_ID_PARENT', null) parent_item
      , nvl2(is_parent, link_name, null) parent_id
      , :app_id app_id
      , :app_session app_session
      , :debug debug
    from
        icon_tree
    where
        depth = 1
    

    In the interactive report, Use Custom Icon Link is set to Yes, and the custom link is:

    
      
      
    #ICON_NAME#

    Public static ID icons and results are applied to the IR and the regions second report respectively for use as selectors in action dynamics and CSS. The protected value property for the page P586_ID_PARENT element must be set to No for the value can be defined by a dynamic action.

    Dynamic action with several real actions is needed to bind alternatives click behavior to the links on the icons that have descendants (i.e. where the data-parent-id attribute has a value):

    Event: Click

    Selection type: jQuery Selector

    jQuery Selector:.apexir_WORKSHEET_ICONS a:not([data-parent-id=""])

    Real Actions

    Seq: 10

    Action: Delete the class

    Class:selected

    Selection type: jQuery Selector

    jQuery Selector:.apexir_WORKSHEET_ICONS a

    Seq: 20

    Action: Add the class

    Class:selected

    Selection type: trigger element

    Seq: 30

    Action: Set value

    Wait for result: Yes

    Type of value: Expression of JavaScript

    JavaScript expression:$(this.triggeringElement).attr('data-parent-id')

    Selection type: Agenda

    Point: P586_ID_PARENT

    Seq: 40

    Action: Discount

    Selection type: Region

    Region: results

    Seq:50

    Action: Show

    Selection type: Region

    Region: results

    Seq: 60

    Action: Cancel event

    Finally, add a style sheet to the Inline CSS property page. Initially, this hides the secondary report and select the parent clicked icon:

    #results {
      display: none;
    }
    #icons .apexir_WORKSHEET_ICONS a {
      border: 1px solid transparent;
      border-radius: 3px;
      padding: 0.8em 0 0.5em;
    }
      #icons .apexir_WORKSHEET_ICONS a.selected {
        border-color: #6a9cda;
        background-color: #bbd1ec;
        transition: 0.6s;
      }
    

    However, after all it is the question of why you use an interactive report here if you turned off all the features of the IR? A dynamic list with a custom template box seems to be more applicable?

  • Data of the interactive report not displaying on the edit form.

    I have an interactive report that contains 3 rows. When I click the button change beside one of these lines, the edit form displays the data in this row.
    But when I click the buttons edit beside the other 2 rows of report, I receive an error message that indicates: "ORA-01403: no data found." Error line could not.

    I don't see why this is happening. The pharmacokinetics of the table involved is 'Date of application', so 'Column link' report is sent the value "Request Date" to the P54_Request_Date element in the page of the form.
    No idea why this would work properly for one of the lines report but not for the other 2?
    Obviously, each of the lines report must have a value for the PK, then why the form would not be able to find the same line that displays the report? Is this a problem with the process of "line of" form?
    Thank you.

    Hello:

    I'd know it before. The date format default for your application, as shown in the following debug output is DD-MON-RR
    >
    0.35:... "NLS: decimal separator Set =". »
    0.35:... NLS: Set NLS Group separator = ",".
    0.35:... NLS: Date Format Set = "DD-MON-RR.
    >

    So, it means that the part of time to a date column is never taken into account when matching a date field. You can change the default date of the application format (shared components-> change the attributes of the globalization) and the value is in the format that you specified for the column in the report (DD-MON-yyyy hh24miss). It will then do the ARF in the process of work correctly without the need of the value of the page element that contains the column of the massage table. However, the change may affect other pages in your application that may depend on the date is in the format "DD-MON-rr.
    You can try this workaround.
    Remove the header before process you added for re - format the value PK-item page
    Define a process lower than the RFA process before header with a sequence
    Set after a bidding process with a sequence that is lower than the process of automatic line (DML)
    Use the code below for each new process

    execute immediate 'alter session set nls_date_format=''DD-MON-YYYY HHMISS''';
    

    CITY

    Published by: city has 16 Sep, 2009 17:18
    Correction of errors in the date formats

  • Interactive report conditional forwarding using the link in the column?

    Hi all

    I use APEX 4.2. We have an interactive report as an overview, we are the column standard link (with the pencil symbol) to go to a form of details.

    Currently, we introduce the user permissions to our application. In accordance with these permissions, not all objects contained in the report can be changed by a user. I made a copy of the form that is set to read-only and eliminated all the buttons.

    My question is: is it possible to redirect conditionally to the form (page 301) or reading one page (10301) according to the permissions of the user? And if I can change the symbol in the column link depending on the permissions this way? Any help would be appreciated. Thank you!

    Birgitt

    I got it! With 2 hidden columns and a column containing the link and icon. First, I created a table where I store my frm pages - and unalterable (afp and arp) according to the dev_class. PERM is the colum where I get 1 (authorized) or null. This column contains the link and the icon later in my report. Then I built columns hidden in my opinion like this:

      CASES WHERE the afp IS NOT NULL THEN
         -CASE perm WHEN = 1 THEN ' f? p ='|| v ('APP_ID') | ': 301 :'|| v ('SESSION'): ':YES:301:P301_DT_ID, P301_DT_ID_4_HIST, P301_DEV_CLASS, P301_DEV_SUBCLASS :'|| v.dt_id | ',' | v.dt_id | ',' | v.DC_ID | ',' | v.DSC_ID
         -ELSE ' f? p ='|| v ('APP_ID') | ': 10301 :'|| v ('SESSION'): ':YES:10301:P10301_DT_ID, P10301_DT_ID_4_HIST, P10301_DEV_CLASS, P10301_DEV_SUBCLASS :'|| v.dt_id | ',' | v.dt_id | ',' | v.DC_ID | ',' | v.DSC_ID
         CASE perm WHEN = 1 THEN ' f? p ='|| v ('APP_ID') |': ' | AFP: ': ' | v ('SESSION') |': YES :'|| AFP |': P' | AFP | "_DT_ID, P' | AFP | "_DT_ID_4_HIST, P' | AFP | "_DEV_CLASS, P' | AFP | ' _DEV_SUBCLASS :'|| v.dt_id | ',' | v.dt_id | ',' | v.DC_ID | ',' | v.DSC_ID
           ELSE ' f? p ='|| v ('APP_ID') |': ' | ARP: ': ' | v ('SESSION') |': YES :'|| ARP |': P' | ARP | "_DT_ID, P' | ARP | "_DT_ID_4_HIST, P' | ARP | "_DEV_CLASS, P' | ARP | ' _DEV_SUBCLASS :'|| v.dt_id | ',' | v.dt_id | ',' | v.DC_ID | ',' | v.DSC_ID
         END
       ANOTHER NULL
      END show_link
      CASES WHERE the afp IS NOT NULL THEN
         CASE perm WHEN = 1 THEN ' menu/pencil2_16x16.gif.
            ELSE 'calmag.gif '.
         END
       "1px_trans.gif" - NOTHING ELSE
      END show_icon

    To the link column, I added the following HTML Expression:

    Thanks for your help!

    Birgitt

  • Create a link to download/print for an interactive report without displaying

    Hi all

    Is it possible to display a download / print link area of interactive report, but without displaying the search bar?

    Thank you

    Not sure I understand. Looking for + {message identifier: = 2475831} +?

  • Interactive report conditional change link

    Hello Expert,

    What I want to do is, interactive report should show the entire file on the table, but it should not show the link edit against the id of the record if this particular record id is present in table B.

    For example: .
    Table A

    RECORDID customer balance name address
    Sam 102 200.00
    Matthew 104 150.00
    106 James - 522.00


    Table B

    CREATEDDAT USERID RECORDID
    James 106 24 March 09

    In this case, the interactive report should show all three records in table A. However, it should only show the record edit link against RECORDID 102 and 104. I don't want to edit record link against 106 RECORDID.



    SAGAR

    Hello

    Mmmm, I can't get the first job or... so we will pass to the last option... something like:

    select case when nr is null
           then null
           else  '<a href="'
                      || 'f?p=&APP_ID.:10:&SESSION.::&DEBUG.::'
                      || 'P10_DEPTNO:'
                      || dept.deptno
                      || '">'
                      || ''
                      || ''
           end link
    ,      dept.deptno
    ,      dept.dname
    ,      dept.loc
    from dept
    ,    ( select deptno, count(*) nr from emp group by deptno ) emp
    where emp.deptno (+) = dept.deptno    
    

    Change the columns of numbers and link to your own page...

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Display conditional interactive report

    I have a group of buttons radio with two options:

    1. display the timeline X table

    2. display the records in the table Y

    And a display button

    According to the selection of the option button (option 1 to say) the user will be display and click on I want my Interactive report to display (in this case, chronogram X table).

    If the user chooses the second option and click the Display then interactive to display report (in this case Records of table Y).

    Please help me solve this problem.  I am new to Oracle apex.

    Thanks in advance.

    You can manage this with two select statement. Here's the logic

    Select * from table where 1 =: RADIO_PAGE_ITEM

    Union

    Select * from table where 2 =: RADIO_PAGE_ITEM and your condition

    Note: Your option 1 must return 1 so the first select statement will be executed in this case second statement can't and vice versa.

  • Using the page as a condition for interactive report item value

    Hello. I add a button named edit in one of the interactive report column. This button should be displayed under certain conditions. Conditions are 1) If the user is Mencis and 2) value of the page called P2_DUMMY is 2. The value of P2_DUMMY is to 2 when a button is clicked. I defined a dynamic action for this. The problem is that I don't know what the condition of being added to the interactive report query.


    I tried

    CASE WHEN: APP_USER IN ('Mencis"). WHEN BOX: P10_DUMMY = 2 THEN ' < button type = "button" class = "button-default"; ">

    < span > edit </span > < / button > ' END I just get errors.

    If I just put the condition as

    CASE WHEN: APP_USER IN ('Mencis") THEN ' < button type ="button"class ="button-default "; "> < span > edit </span > < / button > ' END

    button is displayed in the report. If I add the second condition, all I get is error. I don't know how Add an element value of the page as one of the interactive report conditions. Please help me on this.

    Mencis Joe wrote:

    Hello. I add a button named edit in one of the interactive report column. This button should be displayed under certain conditions. The conditions are 1) if the user is Mencis and 2) value of the page called P2_DUMMY is 2. The value of P2_DUMMY is set to 2, when a button is clicked. I defined a dynamic action for this. The problem is that I don't know what the condition to be added to the interactive report query.

    I tried

    CASE WHEN: APP_USER IN ('Mencis"). WHEN BOX: P10_DUMMY = 2 THEN '' END I just get errors.

    If I just put the condition as

    CASE WHEN: APP_USER end of '' ('Mencis") THEN

    the button is displayed in the report. If I add the second condition, all I get is error. I don't know how to add a value to the page element as one of the interactive report conditions. Please help me on this.

    Combine the predicates in the CASE expression by using an AND condition:

    case
      when    :app_user = 'Mencis'
          and :p10_dummy = 2
      then
        ''
    end
    

    Hardcode a condition like the :app_user = 'Mencis' is likely to prove problematic for all sorts of reasons, not least including the value of APP_USER is uppercase by default, unless otherwise during authentication.

    Note that the semicolon and extra double quotes in are not valid.

  • Get an interactive report to change what it displays

    Hello world

    I have a table which have multiple values in a column, separated by semicolons, for example: "Architecture: Application: Software»

    I have an interactive report that displays data, and by default it displays exactly as above: "Architecture: Application: Software»

    I can get it to wrap so that it fits in narrow width, I put to this column of the report, but I can't seem to break properly - it just treats it as a value and stops at the width of the column in the report.

    If I get: "Architecture: app

    cation: Software'

    What I would like to get is three words, one on each line.  Is there a way to do this?

    Ideally, I would like to replace it with a supply for each settler line - but only in the report.  I'm not actually change the data in the table.

    Thank you!

    John Ramuta

    Of course, you can use in SQL

    Replace (my_col, ': ',')
    ')

    then, set the column for rendering HTML

    You can also try to replace by ': ', that is to say including a space. The browser should then decide on best time to wrap.

  • Center alignment based on aggregation interactive report.

    Hello. I have an interactive report. It has a few columns to summarize. So I used aggregate in the menu actions to sum them. It works very well. But the problem is it is appears on the right side. I want that it will display at the centre.

    post.jpg

    Is it possible to display it in the Center? Thank you.

    Try to apply css custom on the aggregate column. In an application that uses the universal theme, I added the CSS inline to the page of the report below.

    td.a-IRR-aggregate {
     text-align: center;
    }
    
  • Mix of traditional and interactive reports fails the process of RESETTING of PAGINATION.

    I have a tab page where I got 3 different reports REPORT_A (classic), REPORT_B (interactive) and REPORT_C (CLASSIC) in alphabetical order. I have a page to reset pagination process that will always draw (without condition) when you visit the page with the tab.


    Reset pagination process that exists in the front scene of the header is set to fire but not to reset the interactive report. It affects the subsequent classic report REPORT_C as well. The REPORT_A would be reset paging very well since it exists before the interactive report. Is this a bug in apex?

    I created an application of demonstration of test with specific steps to reproduce the problem. The steps are on the demo site itself.

    http://Apex.Oracle.com/pls/Apex/f?p=56638
    SUP: testuser
    P: password

    Apex Version: 4.2.4.00.08

    In my real application I wish a dropdownlist control on the page based on which I would like to filter the data. The dropdownlist control will have a corresponding branch of after-submit who will absolutely perfect pagination to reset & RIR. But when we visit Web site by tab the above problem would break the page.

    I tried the solutions like gReport.search ('SEARCH') but that will only set the interactive report, not the classic REPORT_C. It's just a hack anyway.

    Any ideas. ?

    Hello

    Create before that the process header on page 12 that calls APEX_UTIL. IR_RESET

    Kind regards
    Jari

  • Default icons only for the interactive report

    Hi all

    I develop a style app catalog and display of images in an interactive report; I can get the interactive report to show the icon when users visit the report the first time, the report is quite simple. It has a series of buttons for Sections of the catalogue and when the user presses the button he fills a hidden element that is in the where the criteria catalogue, all it works fine with one exception:

    1. when the user clicks on the button catalogue and interactive data in gear changes; report changes 'View report', I want to maintain state in "Fashion icon" is possible that someone knows how can I have the interactive report only display "icon.


    Thank you very much for your help in advance, I tried a couple of things and nothing... any help would be greatly appreciated.

    958442 wrote:
    Hi all

    Welcome to the forum: read the FAQ and the forum threads sticky (if you have not already done so) and update your profile with a real handle instead of '958442 '.

    When you have a problem, you will get an answer faster, more efficient including information as much information as possible from the outset. This should include:

  • Full version of APEX
  • Complete operating system DB, version, edition, host
  • Architecture of Web server (EPG, SST or APEX listener/host operating system)
  • Browser (s) and version (s) used
  • Theme
  • Model (s)
  • Region/section type (s) (particularly as to distinguish if a 'report' is a standard report, an interactive report, or indeed a 'update report' (i.e. a tabular presentation))

    With APEX, we also had the chance to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproduce things is the best way to solve most of the questions, particularly those relating to the layout and Visual formatting. If you expect a detailed response it is appropriate that you take on an important part of the effort by getting as much as possible with an example of the problem on apex.oracle.com before asking for help on specific issues, then we can see firsthand.

    I develop a style app catalog and display of images in an interactive report; I can get the interactive report to show the icon when users visit the report the first time, the report is quite simple. It has a series of buttons for Sections of the catalogue and when the user presses the button he fills a hidden element that is in the where the criteria catalogue, all it works fine with one exception:

    1. when the user clicks on the button catalogue and interactive data in gear changes; report changes 'View report', I want to maintain state in "Fashion icon" is possible that someone knows how can I have the interactive report only display "icon.

    Thank you very much for your help in advance, I tried a couple of things and nothing... any help would be greatly appreciated.

    It also helps explain what you tried (even better, Show us what you have tried on apex.oracle.com).

    You can view the IR to the default icon via a dynamic Action: + {: identifier of the thread = 2187972} + (obviously using "ICON" rather than "RETAIL"...)

    However, do you really intend to make use of other interactive report features? It seems that the report display is controlled by custom buttons, rather than shares of IR (filters, control breaks etc.). If this is the case then a standard report based on a custom template may be a better option than to try to work around all that offer interactive reports.

  • Height change of interactive report

    Hi all

    Currently I use Apex 5.0 interactive report to display the data in my opinion.

    But I feel I have more than 20 columns, and I have to use the horizontal scroll bar to display data.

    The problem is when I have more than 50 lines, appear vertical scroll bar and I have to pull it down to see the horizontal scroll bar

    333.png

    How can I set the "maximum height" of the interactive report?

    can you check just by giving the lines Maximum per page = 40 and insert several rows into the table

  • Research of interactive report of apex bar button

    Hello

    I'm usign Apex v 4.2.0.00.27.

    I have an interactive report and display the button on the left side instead of (to the right of the search bar of interactive report)? is anyway to show that (left of the search bar of interactive report) Please?

    Thank you very much

    RI

    Hello

    I have acehived it there

    .apexir_BUTTONS

    {

    left: 375px;

    Top:-3px! important;

    }

    It worked and display the buttons next to the action menu.

    Thank you.

Maybe you are looking for