How to problem solve adf issue in the mx340 model

how to problem solve adf issue in the mx340 model

Alex,
the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
So change your package to (you need to expand your variables)
create or replace package bip_departments_2_parameters
as
p_dep_2_param varchar2(1000);
p_loc_1_param varchar2(1000);
p_where_clause varchar2(1000);
function beforereporttrigger
return boolean;
end bip_departments_2_parameters;
create or replace package body bip_departments_2_parameters
as
function beforereporttrigger
return boolean
is
l_return boolean := true;
begin
p_where_clause := ' ';
if p_dep_2_param is not null then
if instr(p_dep_2_param,',')>0 then
p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
else
p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
end if;
if p_loc_1_param is not null then
if instr(p_loc_1_param,',')>0 then
p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
else
p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
end if;
end if;
else
if p_loc_1_param is not null then
if instr(p_loc_1_param,',')>0 then
p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
else
p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
end if;
end if;
end if;
return (l_return);
end beforereporttrigger;
end bip_departments_2_parameters;
I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
Regards
Rainer

Similar Messages

  • HT1918 How do you solve an issue with the card? I don't get the option of 'none' :(

    How do you solve an issue with the card? I don't get the option of 'none'

    I had this exact same problem with the new iPhone I bought on 1/4/13. The walk through they provide on how to do this is useless because it fails to explain that if you are already having the problem of not getting the "None" payment option with an Apple ID then you will need to create a completely new Apple ID.
    I had to do this 7 times since I bought my iPhone on Friday until this morning to figure out how to finally be able to use the Home Sharing option in iTunes to put my music collection on my brand new $500.00 iPhone. Pretty pathetic if you ask me but since it made me so angry I want to make sure other know how to do this so you don't get as upset as I did.
    #1 If your current or soon to be "old" Apple ID is not providing the option for "None" as a payment option then you need to make a brand new one. But you have to make it specifically how I tell you.
    #2 You will need to use an email address that has not already been used for anything related to a previous Apple ID. You might need to make a brand new email address.
    #3 Open iTunes, then open iTunes Store (upper right corner of iTunes).
    #4 Click on App Store (upper center of screen).
    #5 Scroll down the screen page until you see Top Free Apps on the right side.
    #6 Choose any one of the FREE apps.
    #7 You should either get the option to create a new Apple ID box, either that, or it will pop up with some kind of disclaimer and then it does the create new Apple ID.
    Either way just create a new Apple ID when it gives you the option to and then when you get to the page that looks like the payment page the "None" payment option will finally be available.
    Note: You will still have to fill out the information on the payment page. As long as you choose the "None" option it will not request any credit card information.
    #8 You will be sent a confirmation email to the new email account. Just follow through with what ever it tells you and viola now you can use your Apple Device.
    What a pain in the keester, eh?

  • I`ve just bought a Mac Book pro 15", did the required updates and since two days ago it freezes. Now I can´t even start the computer. the screen is allways white. how can I solve this issue??

    I`ve just bought a Mac Book pro 15", did the required updates and since two days ago it freezes. Now I can´t even start the computer. the screen is allways white. how can I solve this issue??

    The same thing happened to me... Since two days the ******* thing keeps freezing after a while. Then I try to reboot and the screen goes white and it doesn't boot. If I wait like half an hour it boots again.
    I thought it was a hardware problem, but the Apple Hardware Test founds nothing at all. I think it has to do with the software update I performed 2 days ago.
    (MacBook Pro 15" Early 2011)

  • My toolbar is missing and there is a button where it used to be that says "Please re-install the Toolbar" but when I click on it nothing happens? Also when I start Firefox I get a script running error how do I solve these issues?

    My toolbar is missing and there is a button at the top left that asks me to "Please re-install the Toolbar" but when I click on it nothing happens???
    Then when I start Mozilla I get a long delay before it launches and a script running error "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: chrome://tavgp/content/libs/include.js:595"
    How do I solve these issues???

    No idea - and you provide no clues
    what version of iPHoto do you have? Of the OS? is the iPhoto icon you are speaking of in the Dock?
    re-read your post and try to provide information using standard Mac terms since we can not see you or your computer and only have your worrds to let us try to help you
    Somehow my "IPhoto" icon now says "Preview".  When I click on "Preview" nothing opens up except the bar says Preview.  When I click on the Preview on the bar, a box opens up with different items, except when I click on any of them, there is nothing there.  The only thing that work is the "quit preview".  However, it is still there where my IPhoto icon should be.  I can't get into my IPhoto.  How do I get rid of this "Preview" and how did it end up taking over the IPhoto icon???
    If you go to your Applications folder and double click on iPhoto what happen?
    LN

  • I was updating my ipad2 to iOS.5 version, and somehow the iPad turned of and the update was not finished. When i turned on the iPad the computer nor iTunes could recognize the iPad. I have windows xp. How can I solve this issue?

    I was updating my ipad2 to iOS.5 version, and somehow the iPad turned of and the update was not finished. When i turned on the iPad the computer nor iTunes could recognize the iPad. I have windows xp. How can I solve this issue?

    Try throwing it into recovery mode and starting over.
    http://support.apple.com/kb/ht4097

  • The Yahoo password in the mail settings of all my Apple devices has reverted to an old version and, no matter what I try, following advice from the community, it always returns to the old password.  How can I solve this issue?

    The Yahoo password in the mail setting on all my apple devices - iPad, iPhone 5, mini iPad - has permanently reverted to an old version.  I have tried all the suggestions provided by the community so far but nothing works. When I delete the account and re-enter the details, the updated password is recognised and seems to save but, when I go back into the account, the old password is the one that is there.
    I am desperate! How can I solve this issue please?

    See:
    How to use multiple iPods, iPads, or iPhones with one computer
    What is the best way to manage multiple...: Apple Support Communities

  • HT5484 Hi, I am using "Avenir Heavy" font in my iOS 6 app but when I run it on iOS5 the label on which I am placing Avenir fonts changes lot and I am not getting proper look n feel. How can I solve this issue ?

    Hi, I am using "Avenir Heavy" font in my iOS 6 app but when I run it on iOS5 the label on which I am placing Avenir fonts changes lot and I am not getting proper look n feel. How can I solve this issue ?

    Post your question on the Developer forums:  http://devforums.apple..com

  • I want to restore iphone 4s and i have the error 21.How cand i solve yhis issue?

    I want to restore iphone 4s and i have the error 21.How cand i solve yhis issue?

    http://support.apple.com/kb/TS3694#error21
    These errors typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.

  • When I try to boot my macbook pro the startup manager doesn't show any drives. How can I solve this issue?

    when I try to boot my macbook pro the startup manager doesn't show any drives. How can I solve this issue?

    Please confirm what version of OS X you are running - I doubt it is the ancient OS 10.1 !

  • I have upgraded my Iphone 4s to 7.0.3 and after that my phone is not charging at all if i leave my phone for charging for more then 24 hours it will charge upto 50%. How do i solve  this issue ?? pls suggest ??

    I have upgraded my Iphone 4s to 7.0.3 and after that my phone is not charging at all if i leave my phone for charging for more then 24 hours it will charge upto 50%. How do i solve  this issue ?? pls suggest ??

    Even if it is a hardware problem they should fix it regardless of warranty. If you buy a car and after 1.5 years the doors fall off due to a failure in their design and construction, do you think the car manufacturer could pull off what Apple is trying to do? Yes the car still delivers its primary objective of driving from A to B, but significant functionality has been lost due to their fault.
    It is the same with this iPhone wifi problem. Apple are a disgrace, I have had significant Apple Hardware failures with my MacBook Pro and iPhone within 2 years of purchase. Pathetic quality.

  • I have macbook pro and am on OS X Yosemite 10.10.2 . I am having lot of warning message on my browser that my computer is infected with malware/spyware and use mackeeper. How do I solve this issue . This is happening more on chrome and Safari browser

    I have macbook pro and am on OS X Yosemite 10.10.2 . I am having lot of warning message on my browser that my computer is infected with malware/spyware and use mackeeper. How do I solve this issue . This is happening more on chrome and Safari browser

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware. Follow Apple Support's instructions to remove it.
    If you have trouble following those instructions, see below.
    Malware is always changing to get around the defenses against it. This procedure works as of now, as far as I know. It may not work in the future. Anyone finding this comment a few days or more after it was posted should look for a more recent discussion, or start a new one.
    The VSearch malware tries to hide itself by varying the names of the files it installs. To remove it, you must first identify the naming pattern.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for two files with names of the form
              com.something.daemon.plist
    and
               com.something.helper.plist
    Here something is a variable string of characters, which can be different in each case. So far it has always been a string of letters without punctuation, such as "cloud," "dot," "highway," "submarine," or "trusteddownloads." Sometimes it's a meaningless string such as "e8dec5ae7fc75c28" rather than a word. Sometimes the string is "apple," and then you must be especially careful not to delete the wrong files, because many built-in OS X files have similar names.
    If you find these files, leave the LaunchDaemons folder open, and open the following folder in the same way:
    /Library/LaunchAgents
    In this folder, there may be a file named
              com.something.agent.plist
    where the string something is the same as before.
    If you feel confident that you've identified the above files, back up all data, then drag just those three files—nothing else—to the Trash. You may be prompted for your administrator login password. Close the Finder windows and restart the computer.
    Don't delete the "LaunchAgents" or "LaunchDaemons" folder or anything else inside either one.
    The malware is now permanently inactivated, as long as you never reinstall it. You can stop here if you like, or you can remove two remaining components for the sake of completeness.
    Open this folder:
    /Library/Application Support
    If it has a subfolder named just
               something
    where something is the same string you saw before, drag that subfolder to the Trash and close the window.
    Don't delete the "Application Support" folder or anything else inside it.
    Finally, in this folder:
    /System/Library/Frameworks
    there may an item named exactly
                v.framework
    It's actually a folder, though it has a different icon than usual. This item always has the above name; it doesn't vary. Drag it to the Trash and close the window.
    Don't delete the "Frameworks" folder or anything else inside it.
    If you didn't find the files or you're not sure about the identification, post what you found.
    If in doubt, or if you have no backups, change nothing at all.
    The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • After getting iOS 6.1.2 wifi inactive. How fast can solve this issue in UK service center?

    For Iphone 4S - After updating to iOS 6.1.2 wifi became inactive(grayved - i can't turn it on).
    Phone still on warranty. I've tried everything - recover, setings resets etc.
    How fast can solve this issue in UK service center?
    I will be in London for 2 days, and i've bought my iphone there.
    Will they be able to change my phone in these 2 days?
    Thanks.

    no one can say for sure, it depends on how busy they are, you should try to make an appt. in the meantime, have you tried the help from the following apple documents:
    http://www.apple.com/support/iphone/wifi/
    http://support.apple.com/kb/ts1398

  • How can i solve a issue through remeady

    how can i solve a issue through remeady..
    With Regards
    Prasanta

    Hello,
    Remedy and other similar products are the tools which track the Action / Time taken for resolving a call. Normally, once an issue is reported, that will be recorded in a tool with an estimated fix time. If the call is not fixed / actioned within the estimated time, it go as breached.
    The analyst need to update the call status in the tool. They will need to update the actions taken, call notes ..etc. Once the issue is fixed, you may set the call status as resolved. Once you set the status as resolved, the user who riased the issue will get an e-mail. They will confirm whether the issue is actually closed or not. Depends upon their cconfirmation, the status will be set to Closed or again Reopen.
    This is a typical helpdesk tool scenario.
    Prase

  • When trying to log in with my primary Apple ID and password, I am continuously asked for my pass word without being able to log in. How can I solve this issue, without creating a new Apple ID?

    When trying to log in with my primary Apple ID and password, I am continuously asked for my pass word without being able to log in. How can I solve this issue, without creating a new Apple ID?

    Chewning wrote:
    I saved some of my music to a Cloud I can't access. Now, they show up as "Purchased" in iTunes, and I'm not given the option of re-downloading OR repurchasing them.
    Music purchased from the iTunes store is not stored in your personal iCloud account, and an iCloud account is not required to redownload them.  You should be able to redownload them as explained here: http://support.apple.com/kb/ht2519.  If you are unable to, contact iTunes store support for assistance by going to https://expresslane.apple.com ; click ‘iTunes', and then 'iTunes Store', then 'Purchases, Billing & Redemption'.

  • I tried to purchase an app but it was unsuccessful even after i rekey in my credit card, it was successful but i still cant purchase. May i know how can I solve this issue?

    I tried to purchase an app however it said  unsuccessful. Earlier I though it was my credit card issue but I have checked and confirm that my credit card can be used. I even tried rekey in the payment method but still it didn work. May i know hows should i solve this issue??

    Contact iTunes.
    Apple - Support - iTunes - Contact Us

Maybe you are looking for

  • Snapshot Backups on HP EVA SAN

    Hi everyone, We are implementing a new HP EVA SAN for our SAP MaxDB Wintel environment.  As part of the SAN setup we will be utilising the EVAs snapshot technology to perform a nightly backup. Currently HP Data Protector does not support MaxDB for it

  • RAM Compatibility with the Late 2012 Mac Mini Core i7 Model (MD388LL/A)

    Hi, I ordered a Mac Mini for academic use and so far I have used this thing for 2 days but the problem is I usually have a lot of programs like SPSS, Excel, and Safari open at once to multitask and the 4 GB RAM isn't cutting it. I've had one instance

  • Hiding the web start security popup

    Dear friends, a simple question: if I sign my WS app with a comercial ceriticate from Verysign, it will eliminate that popup alerting the user about security tips ? i.e., I don�t want the system ask the user about the certificate.. the same behaviour

  • Completion Insight on Mac

    Hi - Version 3.2.20.09. Code Editor>Completion Insight All check boxes checked. Does this functionality work on a Mac (Os X 10.8.2) connection to Sql Server using the 3rd party tools as referenced in the documentation. I would love to use SD but not

  • Facebook & Youtube

    Hye! I hav a Nokia5130 set and i have some problems that Facebook mobile apps n Youtube videoes are not working in my set..plz help me out n give me solutions.