Showing null fields when using a seach function

Hello
The SQL below works fine except it will display records iif CAMPAIGN_NAME is null
Any ideas where I am going worng is very welcome
Thanks
Pete
select CAMPAIGN.CAMPAIGN_KEY,
     CAMPAIGN_CODE,
     CAMPAIGN_NAME,
     LANGUAGE_NUMBER
from     CAMPAIGN, CAMPAIGN_LANG
where CAMPAIGN.CAMPAIGN_KEY = CAMPAIGN_LANG.CAMPAIGN_KEY
and LANGUAGE_NUMBER = :P1_LANG
and (instr(upper(CAMPAIGN_NAME),upper(nvl(:P260_REPORT_SEARCH,CAMPAIGN_NAME))) > 0 )

Hello Pete,
Replace
and (instr(upper(CAMPAIGN_NAME),upper(nvl(:P260_REPORT_SEARCH,CAMPAIGN_NAME))) > 0 )
with
and (instr(upper(CAMPAIGN_NAME),upper(nvl(:P260_REPORT_SEARCH,CAMPAIGN_NAME))) > 0 )
and CAMPAIGN_NAME is NOT NULL
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this reply by marking it as either Helpful or Correct ;-)

Similar Messages

  • How do i lock all fields without using the signature function with adobe lifecycle designer 9

    How do i lock all fields without using the signature function with adobe lifecycle designer 9 ...
    I want it to have the same affect as when a signature is used but not use that function. I want a button that says lock all fields. And then you can click it again to unlock all fields...
    Thanks

    Here you go!
    LOCK the form once its SAVEd?

  • Multivalue error when using the previous() function

    I am getting a multivalue error when using the previous() function on a dimension object in the report.  I thought that the previous function was supposed to look at the current report and then look at the previous record's contents.  How could this possibly give me a multivalue error when the value is clearly output in the previous row?  Anyone have any ideas?
    By the way, this is a valuable function for the types of reports that I design.  The next() function would be even more valuable.
    Thanks for your help.

    Hi Michael,
    Could you please test the following solutions it might help you to resolve the issue.
    Solution1:
    Use slice and dice to reset all the tables that have #multivalue in it. The only problem with this workaround is they have to do the formatting manually.
    Solution2:
    Also, test the issue by changing the object to dimension if it is a measure or to measure if it is a dimension.
    Regards,
    Sarbhjeet Kaur

  • How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic? Is this possible?

    How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic?
    Is this possible?

    You can set any song to Skip when shuffling.
    In your iTunes Library, highlight the song and right-click/Get Info. On the Options tab is the Skip when shuffling box. Select that and then Sync the iPod with your Library.

  • TS2755 I receive message prompting me to enter apple ID password when using normal phone functions. I can cancel and still use phone but, how do I get this to stop coming up?

    I receive a message prompting me to enter apple ID when using normal phone functions, if I cancel I can still use phone but why does this keep coming up and how do I change that to only prompt if I want to access apple?

    Search the forums before posting please.  Your question has been asked and answered dozens of times already.
    Settings --> Store --> Apple ID

  • How do I remove an old username from the app store when using the update function

    How do I remove an old username from the app store when using the update function.
    I purchased my Mac used.  The former owners username prepopulates when I try to perform the updated function on the app store.  It does not allow me to use a different user name.    I have created my own username and password.  I have even been able to purchase items from the app store, it's just when I use the update function it does populate with my username.  Any help is appreciated.

    The first thing to do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. You — not the previous owner — must do that. How you do it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
    1. You don't own another Mac.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. For early MBA models, you may need a USB optical drive or Remote Disc. You should have received the media from the previous owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    2. You do own another Mac.
    If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to create a bootable USB device and boot the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can boot from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
    Once booted in Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
    After partitioning, quit Disk Utility and run the OS X Installer. You will need the Apple ID and password that you used to upgrade. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    Then run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to  authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support.

  • Strange errors when using user defined function in where clause

    Hello,
    I am having trouble with a function that, when used in the where clause of a select will cause an error if the first column selected is of type INTEGER. Not sure whether I am doing something wrong or whether this is a bug.
    Here is a very simple test case:
    create table test(
    col1 integer not null,
    col2 varchar(20) ascii default ''
    insert into test values(1,'2011-03-15 05:00:00')
    insert into test values(2,'2011-03-15 07:00:00')
    CREATE FUNCTION BTR_TAG  RETURNS VARCHAR AS
        VAR ret VARCHAR(20);
      SET ret='2011-03-15 06:00:00';
      RETURN ret;
    Select * from test where col2 >= BTR_TAG()
    Select col1,col2 from test where col2 >= BTR_TAG()
    =>  Error in assignment;-3016 POS(1) Invalid numeric constant
    Select '',* from test where col2 >= BTR_TAG()
    Select col2,col1 from test where col2 >= BTR_TAG()
    => works as it should
    MaxDB V 7.7.07.16 running on Windows Server 2003
    I can replicated the test case above with Sql Studio and other ODBC based tools.
    Thanks in advance,
    Silke Arnswald

    Hello Siva,
    sorry, but I don't understand your reply:
    This is not right forum to posting this question.
    You are from which module or working any 3rd party application.
    MaxDB 7.7.07.16 is the community version of MaxDb,
    we are not using it for SAP
    and no 3rd party software is required to reproduce my problem,
    Sql Studio or Database Studio will do.
    Regards,
    Silke Arnswald

  • Missing blue frame that shows around field when editing.

    Often, when fields are close together, the blue frame that shows the field gets in the way of selecting nearby fields. I often wished there was a way to turn this off.  Well, I got my wish. Now, I just see black dots around the field.  I don't know what I did or how to turn this feature back on.  Using LiveCycle 9.

    Hi:
    The feature is selected off/on using:
    View=>Object Editor
    Good luck!
    Stephen

  • Show/hide fields when selecting an option from a drop-down menu.

    Hello Gurus!
    I have a question about creating a Java Script withing Acrobat pro.  This is what i would like to do: I created a drop-down menu with several selection entries.  Upon the customer making one of the selection entries, i would like for the correct fields that i created to become visible and all other fields to hide.  Is this even possible to do?  The reasoning behind this is because we have a form that customers have to generate in order to request access to certain financial accounts; we have over 20 different types of accounts and for each instance the customer has to fill out the same form.  By creating a drop down menu, i can use the same form by just changing the drop-down selection and clicking on the designated fields for that selection.  At this time i have over 20 different forms that poing to 20 different account requests and i would hate to send the form 20 different times to one person.  The reason i can not add all fields desired for all accounts is due to the fact that the form would be filled with hundreds of checkmarks and instructions thus making the process too tideous for the customer.  Hope you guys can help out.
    ~Vader

    The good news is, it can be done (and it has been done).
    There are a few things to be aware of, however.
    The most important is that the form must be planned well, which means that you must think carefully about your logic and even more so about your field naming (hierarchical field names are your friend). One fundamental issue, you have to be aware of, is that this form no longer will be a "standard form". The consequence of this is that you may have to be aware that you might get into trouble when you have to prove that your user filled out that particular standard form (talk to your compliance and forms management people about that).
    You also may have to decide whether the form should be usable in Reader. And, if so, how much you want to spend on the right to do so. You will see below why…
    There are actually two approaches for dynamically showing/hiding parts of a form. If your form can be separated between a fixed first page (where you also have the account type selection), and a variable part (depending on the selection), you could use Templates, which you spawn according to the selection, and delete pages when you change the selection. This approach is very easy to implement, but requires Reader Extensions Server to allow it to work in Reader; Acrobat Pro's extended rights are not sufficient for that.
    The other approach is showing/hiding fields. If you did your homework well, it would be very easy to first hide all subsequent fields, and then show the ones you need in two lines of code. This approach does not require extended rights for Reader at all, as long as your forms will always have the same number of pages, for each of your account types. This approach also works for the cases where the differences between the individual forms are very small. It does also work for showing/hiding bigger chunks of the form. In that case, you might create the "background" separately, and then put it as an icon into a button field which you will show/hide together with the carefully placed on top of it active fill-out fields.
    There is a third possibility, which Adobe Propaganda probably would suggest, and that woudl be subforms in LiveCycle Designer. The consequence is, however, that you won't have PDF forms, but proprietary XFA forms instead. And you may have more developing and maintenance work than with the other approaches.
    Back to your original question: you could use a Keystroke script evaluating event.changeEx of the combo box field. Depending on that, you would run your action to set up the according form part. The other way to do it would be evaluating event.value in the onBlur event. The latter would have the advantage that the selection has been made, and you get a bit more time to set up the form (this may in fact be an issue, particularly with Acrobat 9 and 10, which may take their time to show/hide fields).
    Another possibility instead of a drop down (combo box field) would be a popup, where you would have a button to press, and the list of selections pops up. This second method uses app.popUpMenuEx().
    Hope this can help.
    Max Wyss.

  • Workaround: SWVMS16 Crash when using Camera Search Function

    When using the camera search functionality, SWVMS16 may crash.  The issue is caused when non-camera UPnP devices on the network send out large packet sizes.  Upcoming video monitoring releases will fix this issue.
    Workaround: If the issue occurs, add your cameras manually to the SWVMS16.
    SWVMS16 v1.21 Release Notes posted online.
    http://www.cisco.com/en/US/docs/security/csbvsc/swvms16/release/notes/Release_Notes_VMS.pdf
    Attached file shows the error message and the steps to manually add cameras to the SWVMS16.

    Hi agschin and welcome to the RH forums. The hhactivex.dll
    file is not used by the search function so you can rule that our.
    Have you tried recompiling and seeing if the problem still happens?
    You can also start the Bug Hunter feature in RH - View > Output
    View and then select the Bug Hunter button - and see if that throws
    up any clues.

  • Certain LinkedIn functions are not working. Browser keeps on looping, for instance when using the search function

    I go to LinkedIn and type in a name in the search box, for instance "Peter" and hit enter.
    Normally, this will return with a list of people with the first name "Peter", listed according to degrees connectivity.
    Instead the web site never loads the next page. It appears that it keeps loading the page over and over again, but with no result.
    In the end I have to press back or use another browser (Safari) to load the page and use the search function.

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    1. Bypass Firefox's Cache
    Use Command+Shift+r to reload the page fresh from the server. Any difference? If not...
    2. Clear Firefox's Cache Completely
    Edit > Preferences > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    3. If needed, remove your linkedin.com cookies
    While viewing a page on the site:
    Tools > Page Info > Security > "View Cookies"
    Remove each cookie then try reloading the page. You probably will need to log in again. Does that help?

  • Stack overflow at line: 1792 or 1788 when using the search function

    Hello everyone,
    My name is Thibault. I am a technical communications specialist. I've been using Robohelp html for a couple of years.
    I am working on the user guide of the software application developed where I work.
    This is a HUGE project, more than 6500 pages.
    We're two technical writers on this project. (This is an inportant detail since my colleague doesn't get the problem).
    I need your help because I have been having an annoying issue over the last couple of days.
    After the project is generated, I open it in the software, clicking F1.
    When I want to use the search function I have this error message displayed:
    "Stack overflow at line: 1792" or "Stack overflow at line: 1788"
    Do you know where this could come from?
    Furthermore, I noticed that this stack overflow only occurs on some words.
    I mean, it occurs for the most used words in this project.
    We have customers all over the world and over the last week, we've been getting a lot of feedbacks about this error message.
    I hope someone will be able to help me on this one!
    Thanks in advance!

    First of all, thanks for your answer RoboColum(n).
    Is the problem only when you search for a topic that contains Flash output?
    All my topics contain Flash outputs. I generate my output files on a folder that is embedded into the software.When in the software, I click F1 and the Flash User Guide opens.The search function works (or not) depending on the software version (32/64-bit).
    At what point exactly does the stack overview occur?
    We have two versions of the software a 32-bit version and a 64-bit version.
    The search function works fine with the 32-bit version.
    The problem occurs when I use the 64-bit version. When I type in a word, for example "unit", the stack overflow message appears. See below:
    As you can see, it looks like the search function freezes while the stack overflow message appears.
    And I never get this error message with the 32-bit version of our software.
    I also wonder whether you can search on a project that contains no Flash output. Perhaps you could try for us?
    What do you mean by that?
    As I told you previously, my Flash Player version is a 32-bit one.
    Do you think that the issue might come from there?

  • IE6 bookmarks aren't being imported when using the import function in Firefox.

    I tried using the import function but it didn't work.

    It usually works better if you export the Favorites in IE to an HTML file and import that file in the Firefox Bookmarks Manager.
    * Export the favorites in IE to an HTML file (bookmarks.html): File > Import and Export
    * Import the HTML file in Firefox: Bookmarks > Organize Bookmarks > Import & Backup > Import HTML: From File
    See also http://kb.mozillazine.org/Import_bookmarks ("Import from another browser" and "Import from file")
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Java Plug-in 1.4.2_12 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Why should we select all key fields when using for all entries

    Hi,
    Why should we select all key fields in our select query when using for all entries statement?
    I read about for all entries but this point was not clear in any post.
    Please explain me
    Regards,
    Subhashini

    Dear Subhasini,
    It is because FOR ALL ENTRIES deletes the duplicate entries before populating the target internal table.
    Please do an F1 on FOR ALL ENTRIES & read the SAP documentation.
    I mean how duplicate entries will not get deleted when we use this?
    Quite simple, if you select  all key fields then each entry will be unique & there will not be any duplicate entries to delete !!
    BR,
    Suhas
    Edited by: Suhas Saha on Oct 16, 2009 9:41 AM

  • Missing Search Field when using 3.1 Create App Wizard ?

    Hi
    2 points which look like bugs to me;
    1 - In all previous versions whenever I used the create app wizard to build up a list of pages, reports always included the 'search across any varchar field' funtionality. This seems to have disappeared when using the Classic form of reports. It is obviously there if you use an Interactive report.
    2 - Again when using the Create App wizard, if I use the Classic form (in order to be able to also 'Generate Analysis Pages') these do get built, but not linked in any way (tab, list region, button etc) to any other pages. I can link them myself, but I am demonstrating APEX here and it doesn't look so good....
    Can someone just quickly confirm I am not going mad here ?
    Jules

    Hi Jules,
    You're not going mad! I've reviewed the behaviour of the Search field and the Analysis Pages link using releases 3.0.1 and 3.1.1, and there is a difference in behaviour between the two versions.
    Classic Reports generated via the Create Application Wizard in 3.1.1 should have a Search text field above the report region, however this field is missing. I've logged bug 7185486 for this issue. Classic Report&Forms generated via the Create Application Wizard, with the "Include Analysis Pages" option selected, are missing a link to the Analysis pages in 3.1.1. I've logged bug 7185486 for this issue. I've updated both bugs with a workaround. A fix for these issues will be available in a future release. Thanks for bringing these two issues to our attention.
    Regards,
    Hilary

Maybe you are looking for

  • Saving framed picture to pdf?

    I am designing a brochure in Apple Pages 9.  I have a picture frame around an image but when I export the file to pdf, the picture frame does not appear when I use other pdf programs (adobe) to open the file. For instance, if I send it to a print sho

  • How to Write Path to Exclude Specific Folder From Scanning in Endpoint Antimalware policy

    Dears, I have configured endpoint protection antimalware policy to make scanning windows servers, and I have some specific folders which I need excluded from scanning because of they are critical folders, so, when I wants to excluded the folder, how

  • My Smart watch 2 won't install apps even it is paired with my Android phone

    Previously, I use Sony SW2 with Samsung Note 2, there was no problem. But, when I change my phone to Xiaomi's Mi3, firstly the phone won't recognize SW2. After a few days, the phone could find SW2 and pair with it magically (probably through hardware

  • Why isn't unchecked music synced to my iPhone?

    I have an iphone 4 connected to windows 7 computer. All going well until recently, last time I connected to itunes I had a warning that all my music was unchecked, so no music would sync to iphone. (This was not a change I had made.) In itunes howeve

  • LDAP server removed from tree still being referenced.

    Greetings, NW6.5sp8 It seems a server I have removed from my tree is still being referenced. On my Apache console screen im seeing it referencing 172.16.10.1. Which, again, has been removed. ldap *MASTER[172.16.10.1] down LDAP initialization failed.