Allow the user to leave empty parameter and the return of all the employee id

Hello

I use Oracle Report Builder 6i and obviously am a newbie. I have a problem, allowing users to leave the empty employee_id setting so that they can see all THE employe_id. The query contains an outer join and it wouldn't let me put out a statement 'OR' in the query of the moose.

Application of moose where emp_id =: p_emp_id
User parameter: p_emp_id

The report runs fine when I entered a number of emp_id, but when I leave it "empty", that it returns nothing. I should write a statement in the request or in the parameter after? Thank you!

Hello

Welcome to the forum!

Here's a way

WHERE   :p_emp_id  = emp_id
OR     :p_emp_id  IS NULL

Is that what you tried and got an error? You should put your code. In fact, it is always helpful if you post the CREATE TABLE and INSERT statements for some examples of data, so people can recreate the problem and test their ideas.

If the above conditions are part of a join, you may need to use the ANSI join notation.

If emp_id cannot be NULL, so you could do this instead:

WHERE     emp_id        = NVL (:p_emp_id, emp_id)

Tags: Database

Similar Questions

  • After downloading the update for Yosemite 10.10.5, I got an annoying popup with a beep sound blaring that says that Safari crashed. I've forced to leave Safari, rebooted and popup returned once more. Restarted again and popup went. What was it?

    After downloading the update for Yosemite 10.10.5, I got an annoying popup with a beep sound blaring that says that Safari crashed. I've forced to leave Safari, rebooted and popup returned once more. Restarted again and popup went. What was it?

    Open Safari while holding the SHIFT key

    Try to reset the settings of Safari:

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select the Preferences/Privacy tab

    4. click on remove all data from the Web site

    5. close Safari.

    Remove cache Safari files:

    1. click on finder

    2. look for the menu GO to top

    3. click on GO and hold down the option key. This will show a user library folder.

    4. click library and find the Caches folder

    5. in the folder caches com.apple.Safari Ouvrezledossier

    6. move the Cache.db file Trash.

    This should solve the problem. If it does not help, try to disable the Safari extensions

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select Preferences

    4. find the Extensions tab

    5 disable all extensions of

    6. relaunch Safari

  • The user profile Service service has no logon. User profile cannot be loaded. Then I deleted my user profile in safe mode, and when I connected, all the files in C:\users\(old users name) are all gone

    I use Vista Home Premium

    1. Windows automatically updated and turn off the power.
    2. I couldn't connect, it says that the service user profile service does not logon. User profile cannot be loaded.
    3. Then I deleted my user profile in SafeMode by doing: 'make right click on computer - properties - settings - advanced - user - deleted my old account profile settings '. There is no option for me to "keep my files."
    4. Then I managed to connect, I guess having creates a default user account? Because there is a new folder in C:\Users\, called (former name). (old name) - PC. In C:\Users\(old name), it is empty.

    Now, all my original files are gone because I deleted my old user profile. The size of my c: drive-has not changed much, so I guess all my files are still in only my computer, it's just that I can't find their "PATH". How could I get re-navigate to all my files? I need them so badly.

    Thank you very much for the one who can help me.

    Hello

    Log on as ADMIN and look in C:\Users where C: is the drive where the user folders.

    You can try to fix it with Safe Mode - repeatedly press F8 as you bootup.

    Some programs such as the updated Google (if you added the toolbar Google, Chrome or Google
    Earth) has been known to cause this problem.

    How to fix error "the user profile Service has no logon. User profile cannot be loaded. »
    http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

    How to fix error "your user profile was not loaded correctly! You have been connected with a
    temporary profile. "in Vista
    http://www.Vistax64.com/tutorials/135858-user-profile-error-logged-temporary-profile.html

    BE VERY CAREFUL IF YOU USE THIS ONE:

    DO NOT USE THE ACCOUNT HIDDEN ON A DAILY BASIS! If it corrrups you are TOAST.

    How to enable or disable the real built-in Administrator account in Vista
    http://www.Vistax64.com/tutorials/67567-administrator-account.html

    Use the hidden administrator account to lower your user account APPLY / OK and then lift it to ADMIN.
    This allows clear of corruption. Do the same for other accounts if necessary after following the above message.

    You can use the hidden - administrator account to make another account as ADMINISTRATOR with password even
    (or two with the same password) use a test or fix the other.

    You can run the Admin account hidden from the prompt by if necessary.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    If you cannot access your old account, you can still use an Admin to migrate to another (don't forget
    always leave to an Admin who is not used except for testing and difficulty account).

    Difficulty of a corrupted user profile
    http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to configure Windows to allow the parameters and software downloads to appear in system and standard user administrator?

    I HAD TO REINSTALL WINDOWS VISTA (SERVICE PACK 2) DUE TO A TROJAN HORSE THAT ATTACKED MY SYSTEM. I USED THE SUPPLIED RECOVERY DISCS SET WITH MY COMPUTER BECAUSE THE SOFTWARE HAS BEEN PRE-LOADED AND I HAVE NOT RECEIVED SOFTWARE FACTORY. WHEN I WAS SETTING UP USER ACCOUNTS, I CREATED THE ACCOUNT TO ADMINISTRATOR (WITH PASSWORD) AND A STANDARD USER ACCOUNT. WHEN I CHANGE THE SETTINGS IN MY COMPUTER IN EACH ACCOUNT, IT DOES NOT APPEAR THERE EITHER ACCOUNT. I DO CHANGES IN PARAMETERS OF EACH ACCOUNT INDIVIDUALLY. CAN I SET UP SO THAT WHEN I CHANGE THE SETTINGS, IT WILL DO THAT IN THE TWO ACCOUNTS? THANK YOU FOR YOUR HELP.

    original title; HOW TO CONFIGURE WINDOWS TO ALLOW THE SETTINGS AND SOFTWARE DOWNLOADS APPEAR IN ADMIN SYSTEM AND STANDARD USER?

    Most PC manufacturers who don't give you the disks give you a partition on your hard drive that contains the images of the disks so that you can burn yourself.  You should check out.

    When you say "change settings in both accounts' exactly what are the parameters what do you mean?  It is normal that many Windows settings to be on a per user basis.  For example. the desktop background is a 'definition' which is completely independent for each user.  You cannot set up a wallpaper for a user and hope that it displays desktop of another user.

  • How can I allow the user to enter the 5 digits in an inputText and who must be a number.

    Hi Experts,

    JDev 12.1.3.0.

    How to allow the user to enter only 5 digits for an inputText and there should also be a number?

    Thank you

    AR

    Try with:pattern="[0-9]{1,5}"

    Dario

  • Allow a user to the admin of the site and upload images to a DB if possible (was: new to Muse...)

    I've been a user of Dreamweaver, at the time of UltraDev, I need to be able to allow a user to the admin of the site and upload images to a DB if possible. For this I used in DW with a DB on the backend. The customer, log in and then upload images and Add info to the image and details.

    Then I looked and did not find anything which allows for a DB on the backend... can someone help with this question?

    Thank you

    B

    Thanks for the info... I think that allowing them to edit via the adobe software in the edition of browser will do.
    https://www.YouTube.com/watch?v=p12weA0YMCc

    Best regards

    B

  • When I have a pdf file open, I used to be able to click on the "Bookmarks" tab on the left side and allow me to click on every page and delete if I had to.  Now when I click on the Bookmarks tab, this section is empty.  How can I show him each

    When I have a pdf file open, I used to be able to click on the "Bookmarks" tab on the left side and allow me to click on every page and delete if I had to.  Now when I click on the Bookmarks tab, this section is empty.  How can I show him each page once again?

    Hi chrismarks1,

    I think you can be confused bookmarks with thumbnails. If you click on the miniatures Page icon (the one above the bookmarks icon), you can delete a page by clicking on its thumbnail, clicking the delete page (icon of the Recycle Bin). Just make sure that you see the PDF file in Acrobat (rather than Acrobat Reader), you cannot remove the drive pages.

    Best,

    Sara

  • Upgrade to Acrobat Pro XI / Adobe Reader XI and allowing the user's rights

    My business is a bit backwards on the software updates and I will ask for Adobe Reader XI thrust out company-wide since then allows the user to save a completed PDF form.

    Right now I use Acrobat X Pro and suspect I will need to upgrade as well.

    My questions are:

    • With the newfound ability of the reader to finally be able to record a filled in form, how this effect the scenario of "enable user rights"?
      Is it necessary if the entire company uses Adobe Reader XI?

    I did a test in Adobe Reader XI, and of course, I was able to save a completed form... BUT I couldn't not digitally sign the form.

    • Where is the activation rights is always required?
    • Or is it because the form has been designed in Acrobat Pro X?
    • Acrobat Pro XI work around that?
    • I know I don't no need to upgrade to Acrobat Pro XI to continue to make shapes, but should I?

    Thanks for your feed back, and I look forward to reading your responses

    Yes, in order to activate the reader digitally sign, you should always activate with Acrobat Pro or LiveCycle Reader Extensions.

    Acrobat 11 has a number of improvements related to the forms of creation. Two of the largest partners about how configure the tab order of fields are worth the cost to upgrade. You can now select several fields during the reorganization and turn off the auto arrange making Acrobat.

  • Form field Acrobat that allows the user to the reader to browse and insert an image in a pre-defined area

    Is there a way to insert a form field in an AcroForm which allow users of Reader to browse and insert an image in this form field?

    I know that LiveCycle can do, but I need to do using an AcroForm. Or maybe there is a third party plug-in that can be used in an AcroForm to do this?

    No, you don't need 11 Acrobat to create a form that uses this method, but your Reader users will have to upgrade. I don't see that they have yet to announce the date output to drive, but in the past, it was usually in about a month of the announcement.

  • copy the select value in the textfield of LOV, and allow the user to modify

    Hello
    I have a datablock with 20 records and each record has a comment (say field_comments) fields. I would like to allow the user to choose LOV populated predefined comments (say lov_comments) and add a few additional comments after they choose the value of LOV.

    I created a LOV and added the return type 'field_comments' in column mapping properties. When the user clicks a button, LOV opens. They choose the value of the LOV and the value goes to the field 'field_comment '. The problem with this approach, the user cannot add their comments after selecting in LOV.

    I tried this too much. I created another area of non-visible text (i.e. fake). In the LOV, I added "dummy" field as returntype. In the dummy field, I created the trigger 'After the CHANGE', which basically says: block. field_comments =: block. Mannequin.

    But, the user must click another field to display the value selected from the LOV. The values of the 'field_comments' is not being updated as soon as the user click on the 'OK' button in the LOV.

    I'd appreciate if someone could give me feedback and help to solve my problem. Thank you for your help.

    I thank.

    Well, I tried exactly what you posted and it allowed me to SELECT from LOV, then CHANGE/ADD new text in front of returned value in the field. He recorded in the database and questioned without any problem.

    Your article is allowed to INSERT/update? If this isn't the case, then set yes "Update/Insert allowed" and attach your LOV to the element and set "post to list" No.

    You can also see if you have any validation done on WHEN-VALIDATE-ITEM trigger or after CHANGE which will fail because you change LOV populated values.

    I hope that helps!

  • jdev11 selection tab and allow the customization of the user on the bug of the Session.

    If you enabled customization by the user for the duration of the session, then what ever user edits a page remains the same through the session.
    That is to say. Boxes of Panel, advanced the query criteria, the visible columns in tables in the collections Panel etc. revealed.

    The problem is that you can't customize the properties to be kept or not:
    ++ Developer fusion for Oracle ADF & 34.3 user customizations Configuration guide: ++
    ++ Note +: If you have activated just the session persistence, then all attributes of the values given in table 34-1 will be persisted in the session. +
    It there is no way to substitute it either globally, or on an instance.
    The biggest problem is that if you have a business logic on these components appearance or behavior you cannot override user settings.

    Is this a bug?
    Shouldn't logical business methods replace the user personalization settings?

    Customization of the user for the duration of the session will be configurable?

    Details: [http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html]

    Hello

    Is this a bug?

    Don't think. I guess your business logic depends on the disclosure statement, which is usually reset after each navigation works to a page. Using persistence of change you explicitly allow the user to keep the changes. If your business logic cannot rely on a State has changed.

    The enhancement request proposed to prevent changes of the perisisting its just components. I'll drop a.

    But it is not that you cannot override the persistent information for a component. You can use the ChangeManager API that is exposed on the ADFFacesContext to substitute information persistence

    http://download.Oracle.com/docs/CD/E15051_01/apirefs.1111/e10684/Oracle/ADF/view/rich/change/changemanager.html

    For example, with a change of disclosure event:

      boolean isDisclosed = < whatever you like to set >;
      //Record a Change for 'disclosed' attribute
      AttributeComponentChange aa =
      new AttributeComponentChange('disclosed', isDisclosed ? Boolean.TRUE : Boolean.FALSE);
      AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
      //set disclosed state to component. Here you override the user choice
      adfContext.getChangeManager().addComponentChange(getFacesContext(), event.getSource(), aa);
    

    Frank

    Published by: Frank Nimphius, on September 30, 2009 15:20

  • block all users: I'll be out of town for a few days and I would block all my personal files and folders again, leaving the internet open to all users

    I'll be out of town for a few days and I would block all my personal files and folders again, let the internet open to all users.

    How I do.

    Thanks for any help!

    I'll be out of town for a few days and I would block all my personal files and folders again, let the internet open to all users.

    How I do.

    Thanks for any help!

    You mean that other users do not have their own user accounts?
    They all connect to your own account?

    If they all have their own user account to log on, they can't see your personal files, unless...
    1. your files in public folders.
    2. they have your password to login to your own account.

    So, please clarify.

    t-4-2

  • With the help of A6, must create menu screen which allows the user to click a button creates a branch to other screens and return to the main menu. When returning to the main screen on which button will be gray or inactive.  How can I do this?  I created

    I am trying to imitate a piece of equipment.  I need the user to be able to click on the specific buttons that have the user to another or screens.  After viewing these screens that will be the user to the main screen where the user which buttons were pressed and which still needed to be pressed.  I create buttons image with the 3 States - who has worked except when the user returns to that slide is reset to zero, and if the user does not see the 3rd State of the button.  How can I get this 3rd State of stay after the user returns to the main screen?

    You can not 'keep' a State, that's what I said in my first answer: "you can create an image with that look of '3' State, make it invisible and show it with the same action when a button is triggered. You will need to insert extra that third picture, first hide it out and make it visible to the advanced action, which I explained. I called this additional 'Done_one' image in the example. The three States you're talking about are in a totally different way to Captivate: for down, more and up-state. You can just tell Captivate to keep a low State, it will be down when the button is pressed. Where my explanation of an additional image.

    No need for all the variables. Looks like you have a lot to learn about variables and advanced actions. I don't see another easy way to achieve what you want. It is not so difficult, tons of examples on my blog.

  • Delprof delete user profiles, but leaves some user profile folders empty!

    Some of our systems have more than 300 profiles and allows us to remove the profiles older then 15 days, delprof

    Delprof is remove the hive and all data of the users folders, but leaves behind the record.

    Any reason why this happens and how I can get these empty user profile folders to remove using delprof?

    Then this performance to the user profile folders empty cart system?

    Thank you...

    Hi Nazir,

    Thanks for posting in the Microsoft Community.

    However, the question you posted would be better suited in the TechNet Forums; We recommend that you post your question in the TechNet Forums to get help:

    http://social.technet.Microsoft.com/forums/en-us/smallbusinessserver/threads

    If you need Windows guru, do not hesitate to post your questions and we will be happy to help you.

  • How to allow the user return to give lectures when they take a quiz?

    Hello world

    I'm new to Captivate and now I'm kinda in a dilemma. Thank you for your
    time to look at my post!

    I created a CBL in Captivate 3, the first 10 slides is a conference and he
    is followed by a quiz of 10 slides, defined as standard SCORM.

    I want that the learner must be able to refer to the Conference when they
    Take the quiz, I tried 2 approaches and they both
    issues in different ways.

    Approach 1: "allow moving backwards" and "infinite attempts. The
    problem with this approach is when the learner clicks on "review the.
    quiz"and when they click"back"on the first slide of questionnaire, all
    Quiz will start everywhere, the score is reset to zero.
    Because the quiz is seeing this as a new attempt and that the learner is
    permit to make "infinite attempts" such that it has been configured.

    Approach 2: "Allow moving backwards" and leave only "1 attempt.
    The problem with this approach is, when the learner is in the Middle
    Quiz and refers to the Conference, the quiz will be
    automatically shown as completed. And the learner will not get a
    chance to answer these questions unanswered.

    It seems that every time that I leave the learner refer to the Conference
    in the middle of a quiz, the quiz will be seen as completed. Who am
    I did wrong? Is there a better approach I can "allow backward
    movement' and always allow resumes user their quiz where they have left
    in the distance?

    Sorry for the long post, I was not able to express it in a more
    concisely.

    Any help is really appreciated!

    -David

    What you see is the behavior designed as in Captivate for the quiz.

    Each Captivate movie has a range of "quiz", which starts with the first measurable purpose and ends at the Quiz results slide.  If you enter the scope of quiz by starting a slide of questionnaire, then jump back away from quiz, to return to the basics, default behavior of Captivate is to freeze the quiz at this time here.  Then when Captivate refers to allow movement to the rear, it is talking only a move backward in the quiz.

    For example, if you get to question 1, but no answer and proceed to question 2 answer that we can go back to question 1, you will still be able to answer question 1.  The test will not be frozen.  However, if you had jumped to any slide before question 1, your quiz would have been frozen with everything that you mark had accumulated at this time here.

    There may be a workaround that you can use to get closer to what you want.  As any object that is classified as part of the quiz, you can add a button on one of the first slides that the user must click to move forward.  Set the properties of this button (or click on the box) to report a score for the quiz.  What makes a part of the scope of quiz.  Now, any content slides falling after this slide button are also within easy reach of quiz and return to them will not have the same effect of freezing the quiz.

    Please keep in mind another aspect of the quiz questions: If you answer a quiz question, and then move off the slide (forward or back) quiz question answer is frozen and cannot be modified unless resume you the Quiz or raise all of the module.

    Hope this helps to clear up how things work.

Maybe you are looking for

  • Windows 7 product key does not work

    I installed the windows 7 64 bit, and then I connect on msdn.microsoft.com. They show the product key then I copy the product key and paste it, but still the error, the product key is not valid. So how to activate it. ?

  • Pavilion dv7-6b56nr: HP Pavilion dv7-6b56nr Entertainment Notebook PC processor Upgrade?

    I the Pavilion dv7-6b56nr notebook and want to upgrade the processor and the video.  In the research forums, I found this guide Maintenance and maintenance for dv7 series machines: http://h10032.www1.hp.com/ctg/Manual/c03043778 My machine has current

  • Microsoft is unplug my new Avira malware software. What is the solution?

    Recently bought Avira antivirus is constantly disconnected by Microsoft.  Many reports of errors have been sent.  In addition, AnitVir premium has been uninstalled, cleaned and reinstalled - all this without making a difference in her 'stop.'

  • Search function disappeared

    The search function (search files/folders) on my Dell Dimension 1100 has disappeared - it does not appear on the start menu or anywhere else. I have no way of finding a lost file or any type of file etc which is a huge nuisance. Can anyone help?

  • New installation UCS 5108

    Hello In a new installation. For the creation of service profile I have to ask the customer what operating system and the application will be installed on each server Then there is for each operating system and application best practices on Cisco? Or