What is the "IN" operator for apex_util.ir_filter()

I would like my Interactive Report to display on the screen an IN statement with a list of values.
Is this possible to do with the apex_util.ir_filter() command within APEX version 3.2.0.00.27?
Thanks Steve
I know its possible for the end-user via the web-browse to manually select "IN" as a operator but so far I only found this valid command option.
procedure ir_filter (
-- Used to control Interactive Report filters
-- Given an APEX page sets a report filter
-- Useful if you want to define report filters declaratively
-- Valid values for p_operator_abbr
-- EQ = Equals
-- LT = Less than
-- LTE = Less then or equal to
-- GT = Greater Than
-- GTE = Greater than or equal to
-- LIKE = SQL Like operator
-- N = Null
-- NN = Not Null
-- Filter values are bound into Report SQL
-- Example:
-- apex_util.ir_filter(p_page_id=>1,p_report_column=>'DEPTNO',p_operator_abbr=>'EQ',p_filter_value=>'10');
--

StewStryker wrote:
I'm not trying to use the apex_util.ir_filter function, as Steve is, but I have a question about how the IN operator expects to get its values. So I hope he doesn't mind me glomming onto his question.
In my application, the user is trying to interactively select a value from the drop-down list that Apex calculates. However, these values can have commas embedded in the values, which causes the filter to not find them.
Using the debug mode, I could see that Apex is parsing a single selected value into multiple parameters.
For example, if I create the filter on the DONOR_NAME field that reads like:
DONOR_NAME in '*Albert Jones, Jr.'
Debug mode shows this clause in the query:
where ("DONOR_NAME" in (:APXWS_EXPR_VAL1_1, :APXWS_EXPR_VAL2_1))
and the following local variable assignment:
+0.11: IR binding: ":APXWS_EXPR_VAL1_1"="APXWS_EXPR_VAL1_1" value="*Albert Jones"+
+0.11: IR binding: ":APXWS_EXPR_VAL2_1"="APXWS_EXPR_VAL2_1" value="Jr."+
Is there any way I can encapsulate the selected values so the parser doesn't do this? My attempts as enclosing in double-quotes or 2 single-quotes did nothing.
Thanks,
Stew
Edited by: StewStryker on May 4, 2010 11:56 AMI'm having this same issue, is there any way around this problem?

Similar Messages

  • Check what is the last operation for a table

    Hi expert,
    I need to check what is the last operation for a table ? ( such as insert/delete/truncte.......), will show me the function or sql to get that?
    Many Thanks,

    hi,
    please take a look at this link
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1590655700346557237
    regards,

  • What is the conditional operator for AND, OR .....?

    what is the conditional operator for AND, OR .....? in ABAP language...
    AND, OR .. & is not accepting or recognising.
    Is these feature available in abap ??? if yes, how to use?
    thanks...
    shiva

    Hi,
    Conditional operator for AND and OR are same AND and OR.
    A logical expression consists of comparisons (see expressions 1 to 4 below) and/or selection criteria checks (expression 5) using the operators AND, OR and NOT , as well as the parentheses " (" and ")".
    The individual operators, parentheses, values and fields must be separated by blanks:
    Incorrect:
    f1 = f2 AND (f3 = f4).
    Correct:
    f1 = f2 AND ( f3 = f4 ).
    NOT takes priority over AND, while AND in turn takes priority over OR:
         NOT f1 = f2 OR f3 = f4 AND f5 = f6
    thus corresponds to
         ( NOT ( f1 = f2 ) ) OR ( f3 = f4 AND f5 = f6 )
    The selection criteria comparisons or checks are processed from left to right. If evaluation of a comparison or check proves part of an expression to be true or false, the remaining comparisons or checks in the expression are not performed.
    All data objects that can be converted among each other can be used as operands for logical expressions.
    Check if u are using the AND or OR operator this way.
    IF f1 AND f2.
    ENDIF.
    In this case it will throw error. Here it act as relational operator.
    Regards,
    Prakash

  • FormCalc - What is the "exponent" operator?

    Hi,
    I want to make a simple calculation in my form that uses an exponent and I can't find anywhere what is the FormCalc operator for an exponent.
    I've tried ^ (e.g. (1+i)^n)
    and
    Math.pow((1+i),n)
    but neither one seems to work.
    Can anyone help please?

    I checked FormCalc specification. Unfortunately, I didn't find a build-in exponent function. FormCalc was designed for simple form data calculation. It doesn't have rich math function available. The operator it provides are "= (unary) - + not * / + - < <= > >= lt le gt ge == <> eq ne & and | or". Arithmetic Built-in Functions only have Abs(), Avg(),Ceil(),Count(),Floor(), Max(),Min(),Mod(0,Round(),Sum(). You see. It is very limited. I would suggest you switching to javascript where you need do advanced math.
    Henry
    Adobe

  • I have Mac os x with 10.4.11 and i want to upgrade, what is the next operating software from a 10.4.11 for a g4

    I have Mac os x with 10.4.11 and i want to upgrade, what is the next operating software from a 10.4.11 for a g4 and can it be done on a g4

    If you have a processor of 867 MHz or faster and a minimum of 512 MB of RAM, you can run OS X Leopard, updated to 10.5.8.
    That's as far as a G4 can go.
    Check eBay for discs:
    http://www.ebay.com/sch/i.html?_nkw=Mac+OS+X+10.5+Leopard+Retail&_sacat=0&_odkw= Mac+OS+X+10.5+Leopard+Full+Retail&_osacat=0
    No Snow Leopard, 10.6x or Lion, 10.7x.
    they won't run in a PPC Mac.

  • What is the best operative software for 2*g5

    what is the best operative software for 2*g5?

    jorgefromantas wrote:
      but is impossible? don´t exists nothing to do ? i want app store in my mac
    Buy a new Mac.

  • HT2101 What's the lowest operating temperature for iPhone 4S?

    My phone turned off by itself &amp; couldn't turned it On while I was out for trekking &amp; temperature was -40 oC. I use a leather casing for my iPhone.  I was out of contact with my family during that time. Surprisingly when I turned it On upon reaching home it still showed 40% charged status. What's the lowest operating temperature for iPhone 4S?

    A Google search is your friend. This was the first hit with a search for "iPhone 4S specs".
    http://www.apple.com/lae/iphone-4s/specs/
    Operating temperature: 32° to 95° F (0° to 35° C)
    Nonoperating temperature: -4° to 113° F (-20° to 45° C)
    Relative humidity: 5% to 95% noncondensing
    Maximum operating altitude: 10,000 feet (3000 m)

  • What is the best practice for inserting (unique) rows into a table containing key columns constraint where source may contain duplicate (already existing) rows?

    My final data table contains a two key columns unique key constraint.  I insert data into this table from a daily capture table (which also contains the two columns that make up the key in the final data table but are not constrained
    (not unique) in the daily capture table).  I don't want to insert rows from daily capture which already exists in final data table (based on the two key columns).  Currently, what I do is to select * into a #temp table from the join
    of daily capture and final data tables on these two key columns.  Then I delete the rows in the daily capture table which match the #temp table.  Then I insert the remaining rows from daily capture into the final data table. 
    Would it be possible to simplify this process by using an Instead Of trigger in the final table and just insert directly from the daily capture table?  How would this look?
    What is the best practice for inserting unique (new) rows and ignoring duplicate rows (rows that already exist in both the daily capture and final data tables) in my particular operation?
    Rich P

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    >> My final data table contains a two key columns unique key constraint. [unh? one two-column key or two one column keys? Sure wish you posted DDL] I insert data into this table from a daily capture table (which also contains the two columns that make
    up the key in the final data table but are not constrained (not unique) in the daily capture table). <<
    Then the "capture table" is not a table at all! Remember the fist day of your RDBMS class? A table has to have a key.  You need to fix this error. What ETL tool do you use? 
    >> I don't want to insert rows from daily capture which already exists in final data table (based on the two key columns). <<
    MERGE statement; Google it. And do not use temp tables. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • What is the best antivirus for MacBook Pro?

    What is the best antivirus for MacBook Pro?

    1. This comment applies to malicious software ("malware") that's installed unwittingly by the victim of a network attack. It does not apply to software, such as keystroke loggers, that may be installed deliberately by an intruder who has hands-on access to the victim's computer. That threat is in a different category, and there's no easy way to defend against it. If you have reason to suspect that you're the target of such an attack, you need expert help.
    If you find this comment too long or too technical, read only sections 5, 6, and 10.
    OS X now implements three layers of built-in protection specifically against malware, not counting runtime protections such as execute disable, sandboxing, system library randomization, and address space layout randomization that may also guard against other kinds of exploits.
    2. All versions of OS X since 10.6.7 have been able to detect known Mac malware in downloaded files, and to block insecure web plugins. This feature is transparent to the user, but internally Apple calls it "XProtect." The malware recognition database is automatically checked for updates once a day; however, you shouldn't rely on it, because the attackers are always at least a day ahead of the defenders.
    The following caveats apply to XProtect:
    It can be bypassed by some third-party networking software, such as BitTorrent clients and Java applets.
    It only applies to software downloaded from the network. Software installed from a CD or other media is not checked.
    3. Starting with OS X 10.7.5, there has been a second layer of built-in malware protection, designated "Gatekeeper" by Apple. By default, applications and Installer packages downloaded from the network will only run if they're digitally signed by a developer with a certificate issued by Apple. Software certified in this way hasn't necessarily been tested by Apple, but you can be reasonably sure that it hasn't been modified by anyone other than the developer. His identity is known to Apple, so he could be held legally responsible if he distributed malware. That may not mean much if the developer lives in a country with a weak legal system (see below.)
    Gatekeeper doesn't depend on a database of known malware. It has, however, the same limitations as XProtect, and in addition the following:
    It can easily be disabled or overridden by the user.
    A malware attacker could get control of a code-signing certificate under false pretenses, or could simply ignore the consequences of distributing codesigned malware.
    An App Store developer could find a way to bypass Apple's oversight, or the oversight could fail due to human error.
    For the reasons given above, App Store products, and other applications recognized by Gatekeeper as signed, are safer than others, but they can't be considered absolutely safe. "Sandboxed" applications may prompt for access to private data, such as your contacts, or for access to the network. Think before granting that access. OS X security is based on user input. Never click through any request for authorization without thinking.
    4. Starting with OS X 10.8.3, a third layer of protection has been added: a "Malware Removal Tool" (MRT). MRT runs automatically in the background when you update the OS. It checks for, and removes, malware that may have evaded the other protections via a Java exploit (see below.) MRT also runs when you install or update the Apple-supplied Java runtime (but not the Oracle runtime.) Like XProtect, MRT is presumably effective against known attacks, but maybe not against unknown attacks. It notifies you if it finds malware, but otherwise there's no user interface to MRT.
    5. XProtect, Gatekeeper, and MRT reduce the risk of malware attack, but they're not absolute protection. The first and best line of defense is always your own intelligence. With the possible exception of Java exploits, all known malware circulating on the Internet that affects a fully-updated installation of OS X 10.6 or later takes the form of so-called "trojan horses," which can only have an effect if the victim is duped into running them. The threat therefore amounts to a battle of wits between you and the malware attacker. If you're smarter than he thinks you are, you'll win.
    That means, in practice, that you never use software that comes from an untrustworthy source, or that does something inherently untrustworthy. How do you know what is trustworthy?
    Any website that prompts you to install a “codec,” “plug-in,” "player," "extractor," or “certificate” that comes from that same site, or an unknown one, is untrustworthy.
    A web operator who tells you that you have a “virus,” or that anything else is wrong with your computer, or that you have won a prize in a contest you never entered, is trying to commit a crime with you as the victim. (Some reputable websites did legitimately warn visitors who were infected with the "DNSChanger" malware. That exception to this rule no longer applies.)
    Pirated copies or "cracks" of commercial software, no matter where they come from, are unsafe.
    Software of any kind downloaded from a BitTorrent or from a Usenet binary newsgroup is unsafe.
    Software that purports to help you do something that's illegal or that infringes copyright, such as saving streamed audio or video for reuse without permission, is unsafe. All YouTube "downloaders" are in this category, though not all are necessarily harmful.
    Software with a corporate brand, such as Adobe Flash Player, must be downloaded directly from the developer’s website. If it comes from any other source, it's unsafe.
    Even signed applications, no matter what the source, should not be trusted if they do something unexpected, such as asking for permission to access your contacts, your location, or the Internet for no obvious reason.
    6. Java on the Web (not to be confused with JavaScript, to which it's not related, despite the similarity of the names) is a weak point in the security of any system. Java is, among other things, a platform for running complex applications in a web page, on the client. That was always a bad idea, and Java's developers have proven themselves incapable of implementing it without also creating a portal for malware to enter. Past Java exploits are the closest thing there has ever been to a Windows-style virus affecting OS X. Merely loading a page with malicious Java content could be harmful.
    Fortunately, client-side Java on the Web is obsolete and mostly extinct. Only a few outmoded sites still use it. Try to hasten the process of extinction by avoiding those sites, if you have a choice. Forget about playing games or other non-essential uses of Java.
    Java is not included in OS X 10.7 and later. Discrete Java installers are distributed by Apple and by Oracle (the developer of Java.) Don't use either one unless you need it. Most people don't. If Java is installed, disable it — not JavaScript — in your browsers.
    Regardless of version, experience has shown that Java on the Web can't be trusted. If you must use a Java applet for a task on a specific site, enable Java only for that site in Safari. Never enable Java for a public website that carries third-party advertising. Use it only on well-known, login-protected, secure websites without ads. In Safari 6 or later, you'll see a lock icon in the address bar with the abbreviation "https" when visiting a secure site.
    Follow the above guidelines, and you’ll be as safe from malware as you can practically be. The rest of this comment concerns what you should not do to protect yourself from malware.
    7. Never install any commercial "anti-virus" or "Internet security" products for the Mac, as they all do more harm than good, if they do any good at all. Any database of known threats is always going to be out of date. Most of the danger is from unknown threats. If you need to be able to detect Windows malware in your files, use one of the free anti-virus products in the Mac App Store — nothing else.
    Why shouldn't you use commercial "anti-virus" products?
    Their design is predicated on the nonexistent threat that malware may be injected at any time, anywhere in the file system. Malware is downloaded from the network; it doesn't materialize from nowhere.
    In order to meet that nonexistent threat, the software modifies or duplicates low-level functions of the operating system, which is a waste of resources and a common cause of instability, bugs, and poor performance.
    By modifying the operating system, the software itself may create weaknesses that could be exploited by malware attackers.
    8. An anti-malware product from the App Store, such as "ClamXav," doesn't have these drawbacks. That doesn't mean it's entirely safe. It may report email messages that have "phishing" links in the body, or Windows malware in attachments, as infected files, and offer to delete or move them. Doing so will corrupt the Mail database. The messages should be deleted from within the Mail application.
    An anti-virus app is not needed, and should not be relied upon, for protection against OS X malware. It's useful only for detecting Windows malware. Windows malware can't harm you directly (unless, of course, you use Windows.) Just don't pass it on to anyone else.
    A Windows malware attachment in email is usually easy to recognize. The file name will often be targeted at people who aren't very bright; for example:
    ♥♥♥♥♥♥♥♥♥♥♥♥♥♥!!!!!!!H0TBABEZ4U!!!!!!!.AVI♥♥♥♥♥♥♥♥♥♥♥♥♥♥.exe
    Anti-virus software may be able to tell you which particular virus or trojan it is, but do you care? In practice, there's seldom a reason to use the software unless a network administrator requires you to do it.
    The ClamXav developer won't try to "upsell" you to a paid version of the product. Other developers may do that. Don't be upsold. For one thing, you should not pay to protect Windows users from the consequences of their choice of computing platform. For another, a paid upgrade from a free app will probably have the disadvantages mentioned in section 7.
    9. It seems to be a common belief that the built-in Application Firewall acts as a barrier to infection, or prevents malware from functioning. It does neither. It blocks inbound connections to certain network services you're running, such as file sharing. It's disabled by default and you should leave it that way if you're behind a router on a private home or office network. Activate it only when you're on an untrusted network, for instance a public Wi-Fi hotspot, where you don't want to provide services. Disable any services you don't use in the Sharing preference pane. All are disabled by default.
    10. As a Mac user you don't have to live in fear that your computer is going to be infected every time you install an application, read email, or visit a web page. But neither should you have the false idea that you will always be safe, no matter what you do. The greatest harm done by security software is precisely its selling point: it makes people feel safe. They may then feel safe enough to take risks from which the software doesn't protect them. Nothing can lessen the need for safe computing practices.

  • What is the best laptop for Photoshop Elements 10 ?

    I have HP Pavilion g6 Notebook,i5-245M 2.5GHZ, 4 GB mwmory, 64-bit Operating system window 7, Radeon Graphics, Eidtior not working , I get error message ( Unable to continue because of hardware or system error,Sorry,but this error in unercoverable).
    So I want to give this one to my son, and I want to bay new One for me,
    but i do not want to have same Error with my new Laptop,
    So any one know what is the best Laptop for PhotoShop Elements 10 ?
    Thanks for Helping me .

    I would suggest a machine with a multi-core processor and plenty of storage as photo files take up quite a lot of room over time. Many laptops have a screen resolution of 1366 x 768 and whilst elements will run OK some menu functionality will be missing if the display is not at least 800 pixels in height. A resolution of 1600 x 900 would be much better.
    Independent advice is best, such as Which, UK. You can get a trial membership for as little as £1 to access their recommendations.
    http://www.which.co.uk/technology/computing/reviews/laptops/best-buy/verdict/

  • What is the current firmware for iphone 3g?

    What is the current firmware for iphone 3g?

    Dear Genes....    wjosten   /   Templeton Peck,
                             My iPhone 3G is on iOS 4.0.(8A293) and with Firmware  05.13.04. Since few days when I shifted  to New operator VODAFONE, I am troubling with "NO SERVICE" most of the time, but when I checked my SIM in another Mobile, it is working fine. So please tell me which iOS do i need to switch to and what will be my Firmware. As I own iPhone 3G, moving to iOS 4.2.1 is very slow.
    Please do suggest. Itz a lil Urgent.
    Looking Ahead to hear from you.
    Thanks in Advance....

  • What is the best DB for mobile?how to deploy it in mobile?

    Hi,
    i a new for BerkeleyDB,i want to know what is the best DB for mobile and how to deploy it in mobile?
    help me ..
    please...
    regard's
    mani
    Edited by: user9032602 on Jan 23, 2010 4:32 AM

    Hi,
    In order to be able to suggest you a database product, we need to know more details on what your application's needs are and on what operating system you use.
    Bogdan Coman

  • I have a Mac running OS X 10.4.11 with a 1.83 intel core duo   what is the highest operating system upgrade that I can get?

    I have a Mac running OS X 10.4.11 with a 1.83 intel core duo   what is the highest operating system upgrade that I can get?

    You can check to see if yours meets the system requirements for Snow Leopard - that would be the highest; Lion will not run on your machine.
    Please note that the minimum 1 GB RAM is a minimum - 2 GB would be better.
    http://store.apple.com/us/product/MC573Z/A
    You can buy it at the Apple Store, other online resellers, or ebay (but be careful there to only bid on a new retail shrinkwrapped package to you don't get suckered into a used install disk which won't work on other machines).

  • What is the current operating system on a Mac laptop?

    I'm shopping for a Mac laptop...what is the current operating system for a mac laptop?

    Mavericks is no longer available from Apple — unless you purchase an older refurb unit from Apple that still has it installed. Yosemite 10.10.0 (now 10.10.2) superseded it. Mavericks came with my May 2014 MacBook Air, and I had no issues with Mavericks, or applications on it. I subsequently upgraded to Yosemite, because I prefer to stay current — and have had no issues with Yosemite either.

  • What's the best way for me you display my ipad on to my laptop which will then be on a projector

    What is the bext way for me to mirror my iPad to my Windows 8 laptop?  I installed Reflector mirroring software which works fine from home as my Network is compatible with the Reflector software, however, when I try and use/display via other places, it doesn't work.  Aparently this is due to some networks not having the capabilities.
    Any suggestions please?

    When networks can't support the refloctor application here are other choices
    a) Use an Elmo Document camera for hardware, and use the Elmo software called imageMate to show the ipad screen on the screen of your laptop/desktop.   It works better than Reflector, because you also get the fingers of the ipad operator.   If you are training people how to use an ipad app, the finger gestures are essential, and left out of the reflector Application
    b) Try this guide ( 5 ways to show ipad on a projector )
    http://learninginhand.com/blog/5-ways-to-show-your-ipad-on-a-projector-screen.ht ml

Maybe you are looking for

  • Duplicate Search Databases in SharePoint Foundation 2013 Farm

    I seem to have 2 seperate issues with Search within my SharePoint Foundation 2013 Farm. This is a new Farm, so I can remove the search service application and re-create if this is a way that can clear the 2 issues I am experiencing. Issue 1: For some

  • Using loop in dbms_advisor Package

    Dears,, I used dbms_advisor package as following below dbms_advisor.create_object task_name => name, object_type => 'TABLE', attr1 => 'HR', attr2 => 'Employees', attr3 => NULL, attr4 => NULL, attr5 => NULL, object_id => obj_id what i need is to use l

  • RFC Error Issue From ECC6 to BI 7.

    Before it is working fine.. from last 2 days it is not working. i dont have Basis Team with me right know. plz let me know how to solve. i checked in SM59 , it seems every thing is fine... Test Connection Report ( SM59 in R/3 ) Connection Error Error

  • More than two structures in query

    Is it possible to use more than two structures in query?

  • ITunes won't stay working..

    iTunes has encountered a problem and needs to close. We are sorry for the inconvenience. I get this nifty little popup when I open up iTunes. It only lasts a few minutes before this comes up. I've tried deleting and reinstalling it several times and