Interactive Report "in" filters do not maintain trailling spaces

I recently came across an interesting situation regarding interactive reports and "in" filters. When building the in list through the filter wizard, any trailing spaces in the column data is trimmed, which leads to inaccurate report results. This doesn't happen on a "=" filter, it seems limited to "in" filters.
I have an example here: http://apex.oracle.com/pls/apex/f?p=39226:1
If you click on the "=" filter you'll see the one record with the trailing space is properly displayed. Clicking on the "in" filter and no records are displayed.
In my particular case, the trailing space shouldn't have been in the data, so I was able to update the table and the filters worked, but if the trailing space was important then the "in" behavior would be troublesome.
Tony

Well, considering the fact that there is a space in the data, and NOT in your in clause I bet, then what is the problem??
Thank you,
Tony Miller
Webster, TX
You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
If this question is answered, please mark the thread as closed and assign points where earned..

Similar Messages

  • Interactive Report - Save Default Filter not Saving

    In Apex 3.2 I have an Interactive report were a Filter I applied won't save to the report.
    I applied the Filter and saved it as the default report for all users, but when I leave the page and come back the filter its gone.
    The same application on different pages has interactive report with filters applied to the default report and they all work fine, it's just this one report that the filter won't stay.
    First time I've every had this issue.
    Any ideas?
    The filter is pretty simply, I have a column that has codes of D, E, G,... and I apply the filter for CODE != D.

    Hi,
    I've just been trying the "in the last" option and had no problems for any number that I entered. Are you just entering 1 into the box? What error do you get?
    I've loaded the page with Debug switched on, and get:
    select
           null as apxws_row_pk,
           "DATE_ID",
           "ATD_DATE",
           "CHECK",
           count(*) over () as apxws_row_cnt
    from (
    select  *  from (
    select
    apex_item.checkbox(1, DATE_ID) "CHECK",
    "DATE_ID",
    "ATD_DATE"
    from "#OWNER#"."ATD_DATES"
    )  r
    where ("ATD_DATE" between systimestamp - (1 * :APXWS_EXPR_1) and systimestamp)
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT):APXWS_EXPR_1 would contain the value 1 as that is what I've entered for the filter. My report's sql statement is just the innermost nested select statement, the rest has been added by the IR functionality and the filter.
    Andy

  • Interactive report column filters to display differently than column values

    Greetings...
    We use images a lot in our interactive reports to provide a visual representation to a status, or something locked for update, or what-have-you. By default, when a user clicks the column heading of a column which contains images, the drop-down list that shows up displays the actual images, which is nice for the user to identify exactly which thing they want to filter on. The problem is when the user selects on of the options in the filtering drop-down, the resulting condition that is displayed under the interactive report search bar is the HTML code of the image. I'd like something else to display there because showing the user the HTML code is atrocious.
    I didn't think what I want is possible, but then I came across the Page Locks page within ApEx (page 4000:291 in ApEx 4.0.1) which displays a list of all the pages of an application and whether they are locked or not. It also allows you to bulk lock or bulk unlock a bunch of pages. That page uses an interactive report with a column called "Status" which contains images that represent whether the page is locked or not. When you click the "Status" column heading to filter, instead of seeing the images of an open and closed lock, you see the words "Page Locked" and "Page Unlocked." And even better... when you select on of them, the condition that is displayed to the user is very user-friendly.
    Can someone tell me how this is done so I can replicate it in my own apps?
    Shane.

    Why not create the IR using the text you require e.g. 'Lock', 'Unlock' and then use JQuery to replace the text in the report with the image you want. All the filters should then show the plain text and the report will display the image. e.g.
    http://apex.oracle.com/pls/apex/f?p=46801:1
    Here's what I did:
    Firstly make sure the IR has a region template.
    Then create a Dynamic Action with the following attributes:
    1. Advanced
    2. Event: After Refresh
    3. Selection Type: Region
    4. Region: [select the IR Region]
    5. Action: Execute JS Code
    6. Fire on page load: [checked]
    7. Code:
    $('td [headers="TEST"]').each(function(index) {
      if ($(this).text() == 'Lock') {
        $(this).empty().html('<img src="/i/htmldb/icons/locked_small.gif" alt="Lock" />');
      else {
        $(this).empty().html('<img src="/i/htmldb/icons/unlocked_small.gif" alt="Unlock" />');
    });Where TEST is the column name.
    That's it, this may also be of interest:
    http://simonhunt.blogspot.com/2011/10/adjusting-interactive-report-column.html
    I hope it helps
    Shunt

  • Interactive Report Hide Filters

    I have built an interactive report with some formatting filters.
    I do not want the users to change anything in this report, so I have disabled
    the search bar.
    They are still able to access these filters and change and delete them.
    How can I stop this ?
    Help appreciated
    Gus

    Hello Gus,
    Put following CSS in page footer text..
    <style>table#apexir_CONTROL_PANEL {display:none;}</style>Regards,
    Hari

  • Check box in interactive report is literal string not a check box ???

    I'm trying to create a check box in an interactive report using the APEX_ITEM.CHECKBOX function.
    My select statement is :
    select     "CUTOVER_TASKS"."ID" as "ID",
         "CUTOVER_TASKS"."START_DATE" as "START_DATE",
         "CUTOVER_TASKS"."END_DATE" as "END_DATE",
         "CUTOVER_TASKS"."DURATION" as "DURATION",
         "CUTOVER_TASKS"."EFFORT" as "EFFORT",
         APEX_ITEM.CHECKBOX(1,COMPLETED, 1) as "COMPLETED",
         "CUTOVER_TASKS"."ASSIGNED" as "ASSIGNED",
         "CUTOVER_TASKS"."CONSTRAINT_START" as "CONSTRAINT_START",
         "CUTOVER_TASKS"."CONSTRAINT_END" as "CONSTRAINT_END",
         "CUTOVER_TASKS"."DEPENDENCIES" as "DEPENDENCIES",
         "CUTOVER_TASKS"."NOTES" as "NOTES",
         "CUTOVER_TASKS"."PRIORITY" as "PRIORITY",
         "CUTOVER_TASKS"."ORGANIZATION" as "ORGANIZATION",
         "CUTOVER_TASKS"."TASK" as "TASK"
    from     "CUTOVER_TASKS" "CUTOVER_TASKS"
    This produces an interactive report with the COMPLETED column contents "<input type="checkbox" name="f01" value="" 1 />"
    The same sql in a regular report works properly and creates the check box.
    Is there something else required for a check box in an interactive report ?
    Using : Application Express 3.2.0.00.27

    Go to Report Attributes and change the display type to "Standard Report Column" (instead of "Display as Text, escape special characters")
    Go to Column Attributes for that column and change the List Of Values to None and uncheck all the column's interactive features (sort, aggregate, compute, etc)

  • Download from Interactive Report to csv is not working

    Hi there,
    when I try to create a download form my interactive report I get an empty csv/pdf.
    I just checked with other report pages where the download functionality is working - but the settings seem the same.
    In the interactive report properties I've set the check boxes for csv and pdf and it is also displayed properly then on the report page. But when I click on the download (csv or pdf) just an empty document is opened.
    What settings can I check now - what might be the reason for the error?
    BR & thank you,
    Lena

    Keerti,
    You're using the "Display Condition" of the Interactive Report Region (IRR) to show the report or not.
    If you have multiple selects just use a PL/SQL expression as in:
    :P1_MULTI_1 IS NOT NULL
       AND :P1_MULTI_2 IS NOT NULLNow, if that works for you lets take things a little further... You don't need the second submit button all the time (I'd get rid of it entirely but you seem to really want to hide the region until a selection is made). I did the following:
    1. Updated the display condition of the report to use a PL/SQL expression.
    2. Set the display condition of the submit button to the opposite of the IRR.
    3. Added the item name of the select to the interactive report attributes > Advanced Attributes > Page Items to Submit.
    Now the go button can be used for everything.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    Edited by: Dan McGhan on May 14, 2009 12:28 PM
    Updated as only clicking "go" works with Page Items to Submit.

  • Interactive Report Search bar is not working

    Hello all,
    I'm working on a Report. I has two regions, one is for select list criteria and Other is sql query.
    To remove the No data forund. I added REQUEST = 'GO' for sql region.
    When i run the report, selecting all my criterias and click search i get the interactive report.But the tool is not working. If i remove the REQUEST = 'GO' it's working.
    Can anybody please help me.
    Thanks,
    Keerti

    Keerti,
    You're using the "Display Condition" of the Interactive Report Region (IRR) to show the report or not.
    If you have multiple selects just use a PL/SQL expression as in:
    :P1_MULTI_1 IS NOT NULL
       AND :P1_MULTI_2 IS NOT NULLNow, if that works for you lets take things a little further... You don't need the second submit button all the time (I'd get rid of it entirely but you seem to really want to hide the region until a selection is made). I did the following:
    1. Updated the display condition of the report to use a PL/SQL expression.
    2. Set the display condition of the submit button to the opposite of the IRR.
    3. Added the item name of the select to the interactive report attributes > Advanced Attributes > Page Items to Submit.
    Now the go button can be used for everything.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    Edited by: Dan McGhan on May 14, 2009 12:28 PM
    Updated as only clicking "go" works with Page Items to Submit.

  • Interactive report column filters drop Ampersands

    We have interactive reports that include a column called status, and one of the values for status is R&R. The values are displayed properly in the report, but when the user selects the stats column filter, the value in the list is simply displayed as R, i.e. the &R has been dropped. It is 4.02.07.
    Is this a known issue? if not, what is the process for submitting it as a defect?
    Edited by: user12979818 on Jul 29, 2011 9:12 AM

    Please then SEARCH THE FORUM.. If you think this is a defect of the tool...
    Escaping the "&" character
    Now instead of complaining that the tool is broken, you can also fix it by using this for your LOV..
    If your LOV is dynamic (table driven) you could use this:
      SELECT utl_url.escape(Display_Column,TRUE) Display Column, Returned_Column FROM LOV_TABLE;
    {CODE}
    Please note from this document, that & is a RESERVED/SPECIAL CHARACTER with HTML... Thus it needs be dealt with accordingly..
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/u_url.htm
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    *If this question is answered, please mark the thread as closed and assign points where earned..*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Link to interactive report with filters

    I want to put a link to a page with an interactive report. But the link should setup a filter for the interactive report.
    For example, if I'm looking at a client, I want a link that sends me to the activity reports, but filtered to show only that client already.
    Is there a way to do that?
    Thanks
    Edited by: user1415525 on Sep 21, 2009 7:34 AM

    Hello,
    Set a parameter IR_<COLUMN_NAME_IN_IR> to #<COLUMN_NAME_IN_LINK>#
    Example : Set IR_ORDER_ID to #ORDER_ID#
    or for you
    Set IR_CUSTOMER_ID to #CUSTOMER_ID#
    (Of course you have to change the column names)
    Greetings,
    Roel
    http://roelhartman.blogspot.com/

  • Interactive Report accumulates Filters

    Hi all
    I have a menu of links, each of them sends you to the same Interactive Report with a certain Filter. All of them are like this:
    :IR_REPORT_30627346:RIR::IRLIKE_MODULES:%25Order%20Management%25
    But each of them get stuck with the other ones, accumulating all the previous filters
    Is there a way to restart the filters and only pass the one I'm sending through the URL?
    See the picture
    [http://oi56.tinypic.com/296n911.jpg]

    Hello Gus,
    Put following CSS in page footer text..
    <style>table#apexir_CONTROL_PANEL {display:none;}</style>Regards,
    Hari

  • Interactive Report -- Clear Filters -- How?

    I am running into a very weird situation. I created an interactive report and it is working fine.
    Unfortunately, I applied a “Filter” criteria that would make the SQL query run for 4-5 hrs and then the result will come back.
    In this case, I close the browser and went back to the same page (interactive report). I noticed that it still remembers my filter criteria and re-issues the same sql query and I don’t get control of the page. I checked the sql query in TOAD – Session Browser.
    How do I clear the filter criteria? It looks like this interactive page is unusable till I am able to reset my filter criteria.
    Any help would be appreciated.
    Ajay

    I understand that there is a "Reset" button, but the page will not be displayed as APEX is trying to be smart and tries to run the same "run-away query" when I try to go back to the same page.
    And because of this, my browser will not even display the "Actions" button.
    The page is stuck between a rock and a hard place.
    Ajay

  • Interactive Reports Action Menu buttons not working

    We are running Apex 4.02 and using theme 11 (round green). We recently upgraded to IE 10 (on windows server 2008 R2) and are now experiencing issues with all interactive reports within Apex. The Action menu is displayed correctly and the options are available but the buttons to apply the changes do not seem to respond.
    For example, I can press the Action button then select Format->Sort from the actions menu. The sort by options are displayed but nothing happens when I press the Cancel or Apply buttons. There is no error - it looks like the button press is not executing the code.
    I have searched for issues specifically related to Apex but have only been able to find references to general problems with IE 10 and Ajax calls. I'm not sure whether IRs are using Ajax as part of it's core functionality and whether this is the behaviour we are seeing.
    I'm keen to understand whether others have encountered this problem and resolved the issue somehow. Any help would be very much appreciated.

    I would have set this up somewhat differently.  I'd have all of your buttons set to pause the slide in exactly the same spot about 1.5 seconds into the slide.  To set the variable for completion of a section I would have used a standard or conditional action that was executed by the button that brings the learner back to the menu slide.  This action would set the variable and then jump back to the menu slide using the button's On Success action.  You need one of these actions per separate section in your project.
    As to why some of your buttons are not working at all...
    1. They may not be set up correctly.  Check all settings again.
    2. The buttons may be corrupted.  Delete the ones that don't work and insert new ones.  Avoid copying and pasting.
    As luck would have it, I've just completed an e-book Guide to Adobe Captivate Advanced Actions that has an entire series of practice exercises that take you step by step through creating exactly the menu slide setup that you describe.  If this project is important enough to you, it may be worth your while to consider purchasing that e-book:
    http://www.infosemantics.com.au/adobe-captivate-advanced-actions

  • Interactive report filter for date not working correctly

    Hi,
    I am having an interactive report. I tried to give a filter for a column(created_on) as created on>29-oct-2009 17:17
    but i am getting the row containing created on as *29-oct-2009 17:17* in the report result. How can i correct this
    problem
    Thanks,
    TJ

    Hi,
    I think it is because seconds.
    So it is 29-oct-2009 17:17:00 and your record is e.g. 29-oct-2009 17:17:02
    br, Jari
    Edit
    You can use trunc function in your select so that it round date to minutes
    TRUNC(created_on,'MI') AS created_onBr, Jari
    Edited by: jarola on Nov 5, 2009 3:02 PM

  • Interactive Report "Save As Default" not working for me on Hosted APEX

    Created an app on Oracle's Hosted APEX site (apex.oracle.com) with an interactive report. Changed the column settings in the interactive report and went to "Save Report" and the "Save As" select list isn't displayed to allow me to "Save as Default". It's as if APEX isn't recognizing me as a Developer even though I'm logged in as my Admin Account. I even have a "developer" account that I created and the same problem happens there as well. Has anyone experienced this problem on apex.oracle.com? Thanks.

    Will - The developer toolbar must be enabled in order for you to see those options, I believe.
    Scott

  • Disk Utility reports DVD disc does not have enough space

    I am trying to create backup DVDs of some valuable data using my Macbook
    I have used Disk Utility to create a disk image of the original DVD. When trying to burn the image to the blank DVD (4.7GB DVD-R), Disk Utility reports: 'The disc inserted does not have enough free space'. This occurs for both a disk/disc image of 4.26GB and one of a mere 451MB.
    Any ideas on how can I overcome this?
    PS: when is a disk a disc and vice-versa? Apple don't seem to know; the spellings above are verbatim.

    If you are trying to duplicate the DVD then I suggest trying this:
    Duplicate a CD or DVD
    1. Insert the DVD/CD;
    2. Open Disk Utility, and select the DVD/CD from the left side list (select the DVD/CD icon on top);
    3. from the DU File menu select New | Disk Image from Disk 1;
    4. Choose to format the disk image as DVD/CD Master, name the disk image and click Save;
    5. When the .cdr file is finished select it with mouse and press COMMAND-I to open the Get Info and check the box to lock the file;
    6. Choose the .cdr file from the left side list, click Burn, and insert a new, blank DVD or CD.
    Otherwise I would consider using backup software that can span a backup across multiple optical media such as Retrospect, Toast, etc. You can look for them at VersionTracker or MacUpdate.
    It's hard to offer more because you really did not provide any detail on precisely what you are doing and how you are trying to do it. More information may enable us to provide better suggestions.

Maybe you are looking for