Reverse

Hi all

I use this code to invert the selection

GO_ITEM('DIS_DOCS.DOCTOR_NAME') ;
FIRST_RECORD ; 
LOOP 
    IF :DIS_DOCS.CHECK = 'N' 
        THEN 
        :DIS_DOCS.CHECK := 'Y' ; 
    ELSIF :DIS_DOCS.CHECK = 'Y'
        THEN 
        :DIS_DOCS.CHECK := 'N' ;
    END IF ; 
    EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' ; 
    DOWN ; 
END LOOP ; 

-I have the same situation in another block which has an another box, and I use the same code to get the same result:


    GO_ITEM('ALL_ADMITTED_PATIENT.PATIENT_FILE_NO') ;
FIRST_RECORD ; 

LOOP 
    IF :ALL_ADMITTED_PATIENT.CHECK_PAT = 'N'  
        THEN 
        :ALL_ADMITTED_PATIENT.CHECK_PAT := 'Y' ; 
    ELSIF :ALL_ADMITTED_PATIENT.CHECK_PAT = 'Y'
        THEN 
        :ALL_ADMITTED_PATIENT.CHECK_PAT := 'N' ;
    END IF ; 
    EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' ; 
    DOWN ; 
END LOOP ; 

but it does not work,

in the second case, other values are mapped "unchecked."

I think that he does not see the ": ALL_ADMITTED_PATIENT." CHECK_PAT: = 'Y '; "because I tried to display a message after her, and she has not displayed.

??

I found it,

the form runs a query at the beginning, so the initial value is cleared.

I assigned "n" to the box in the trigger after query and it worked.

Thank you very much

Tags: Oracle Development

Similar Questions

  • Reverse arrows message next/previous iPhone mail?

    When reading an e-mail inside the Mail in 10 iOS app, email previous/next on the upper right arrows are configured differently from most applications of e-mail (Gmail and Outlook, in particular) and it is the engine of my brain coconut.  Left arrow goes to the previous received email - that would make sense, except that it is in contradiction with the sorting of the list of email, which shows the most recent email on top.

    Is there a way to reverse the function of these arrows based on my preference of sorting?  As my most recent emails are at the top of my list, I would like the left arrow to move to the TOP of the list and the right arrow to move to the BOTTOM of the list.

    Hi Agrahman, unfortunately, it seems that you are asking to move built-in IOS features. While you can rearrange how your emails, it is not possible to move the top arrows because they are supposed to be integrated the app and the app itself is built in the iOS 10

    But you can always set your iCloud account using a different email provider, or by downloading a more convenient mail on the App Store app

    Hope that helps!

  • Unable to sync Mac (10.9.5) to iCloud and iDevices but reverse works

    My problem is simple. I just added a calendar to my MBA (10.9.5) and attempted to share the calendar with my family.

    After that my family has not received an e-mail to synchronize with the new calendar, I watched my iCloud account. The new schedule is not on my iCloud account either.

    I crossed all basic and advanced troubleshooting guides on apple.com and other websites of third parties without result. Yes, my calendar is listed under iCloud. My calendar is set to sync with my iCloud account in system preferences. I am connected to my iCloud account on my Mac. I followed all of the settings on the Apple support pages. I even cleaned my calendars and disconnected and then reconnected my iCloud account on my Mac.

    I tried a reverse test. I added a calendar in iCloud. Miraculously, he immediately synced with my Mac and my iDevices. In short, iCloud will synchronize with my iDevices and Macs, but my Mac does not synchronize with iCloud and my iDevices.

    I really don't want to enter all the information in iCloud. Suggestions on how to solve the problem?

    OK, after an hour of frustration (my iCloud account is sent to push), I disconnected my iCloud account and then connected again. Of course the restoration did not understand the new calendar, so I imported my backup. The calendar now shows upward. This is a serious flaw that Apple needs to fix.

  • How to enter an exclamation mark reversed (when you type Spanish)?

    How to enter an exclamation mark reversed when writing/typing in Spanish?

    If you have set up your keyboard to Spanish, question mark opposite to find it on the top row, in the key += next to the BACKSPACE key.

    If your keyboard is set to the English press and hold the button shift + option keys and type the question regular mark.

  • The problem of migration - how to reverse?

    I tried to migrate data from another user on my McBook Pro, so that I could have all the data through my profile, sign in.

    Conflicts re log in names reported Migration Assistant and I changed the.

    Then, the migration has taken place but included all my existing profile data. So duplicate everything.

    I tried to restore via Time Machine, but it had no back ups as being accessible, I guess, because my log in name has changed.

    Instead of having one profile log, I now have three!

    Help!

    How can I reverse the migration?

    I tried once but reported insufficient disk space!

    How can I reverse the migration?

    Using system preferences > users and groups, remove the migrated user accounts that you do not want.

    Maybe what you want to do was to replace a user account with another with the same named on your other Mac. MY will assign them unique names in the case of a name conflict, resulting an account essentially duplicated. It tells you, he'll do it, but the dialog box there is place is easily overlooked.

    If you have a user account with a name such as Alistair for example and want to migrate "Alistair" of the other Mac, there are two workaround solutions. Ask, if that's what you experience.

  • Position reversed in Midi transform does not

    Hello

    I can't make "reverse position" at work

    It is to select 0 events

    "reverse the pitch" is 283 events

    What is the trick?

    Is that still, there is a bug?

    Thanks in advance for your help

    Best

    Cyril

    Just make sure that the start and end positions are set up correctly. Then just press select and operate.

    In the piano roll, so you can see the selection of note happen and make sure it works well.

    It works very well here.

  • itunes backup reverse on ios9

    Can someone tell me how to reverse the effects of a return to the top is via iTunes, can I restore it back to where it was before the restoration

    garryfromkurri kurri wrote:

    Can someone tell me how to reverse the effects of a return to the top is via iTunes, can I restore it back to where it was before the restoration

    Can you try to explain exactly what you ask here again. Creating a backup does nothing to an instrument except to backup the content at that time. If you want to restore a device, that will bring back you to the time of that backup. Anything after that would be lost. You seem to be confusing the order of things here.

  • Images are blocked. How do I reverse this order? I don't want to.

    Suddenly, images in an e-mail message are blocked. How to reverse this trend?

    Some e-mail providers that automatically to prevent downloading harmful files. Please check with your provider of e-mail for more details.

    If you feel that this is not the cause of your problem, please let us know which web e-mail service provider you use.

    Note: Please do not share your email address in this thread. Mozilla volunteers or employees will never ask for your email address on this forum. This could make you vulnerable to spam or any other detrimental action.

  • reverse order podcast iTunes 12.4.3.1

    Using iTunes 12.4.3.1 on a MacBook with El Capitan 10.11.6 12 ".

    I want to hear a bunch of podcasts all in chronological order, without having to click on each of them.

    To do this, I want to list podcasts in chronological order (rather than reverse chronological order), whether in my Podcasts > Unplayed, my Podcasts > feed or Unplayed.

    Any way to do it?

    Select a podcast (not just one episode) > bottom of settings on the bottom of the screen > edit set to: from the most recent to the oldest.

  • Texas use faith E-mail window displays tiny fonts after using the function key can not reverse

    Open E-mail c - faith and tried to highlight several entries by maintaining control. When I did the font on the page became so small it is not readable. How do I reverse this order?

    Zoom on the page can be changed by pressing the Ctrl key while using the mouse wheel to scroll.

    To reset the Zoom of Page - press on and hold the Ctrl key while pressing 0 to reset. Is the zero key number.

  • Scanning text is reversed with pixma mp530

    Hi all

    I have older software MP Navigator v 2.2.5 and EL CAP LAST version

    use to work fine - but text now scans are coming from reversed - Black w white text

    new versions of MP Navigator do not seem to like they're for this model of canon

    Q: How can I remedy this?

    I do not see a more recent software available for EL CAP

    https://www.USA.Canon.com/Internet/portal/us/home/support/details/printers/Suppo rt - ink-printer/mp-series/pixma-mp530 inkjet

    which software are you scanning with?

    If it's a twain complaint scanner you can scan directly from Preview in the import from a scanner under file.

  • I pressed "do not ask again" when prompted to access the microphone and camera. IWant to reverse this trend

    I pressed accidentally on 'don't ask' when prompted to access the camera and microphone on a Web site that is crucial for its use. How do I reverse this order? changing the security settings did not help

    Go to the page you want to change the permissions and click the globe icon or the lock to the left of the address. From there, click on the button "additional information". In the window that appears, select the "permissions" tab Then find the camera and microphone access settings and change them to "allow".

  • Playlist song order reversal

    How can I reverse the order of song Playlist in my iPad?

    You can't reverse the order on the iPad. Go to the original list in iTunes. Select the heading on the left most column of numbers so that the current order is displayed. Click the kid in the title so switch to a descending sort if it is not already in that order, then right-click on the name of the playlist in the sidebar and click on copy to Play Order. Click again on the chevron is not upward. It is the order in which you can synchronize to the device.

    TT2

  • Reverse the factory setting

    I have a phone that was given to me from my father-in-law, it's a phone of one of his former employees that was great in the office. We had no password information, so we tried to reset the phone to wipe and start over. This just finished sending us to a factory setting that requires an Apple ID and password that we don't have. How do I reverse the factory setting, so I'm back to the regular functions of the phone?

    Sorry, but you can't. This device is locked to the previous owners iCloud account and password activation.  Without their password or their active assistance to disable locking activation, will you not be able to use this device.

    See disable find my iPhone Activation Lock - Apple Support

  • Reverse calendar alarms

    After the recent update 9.3.2,and I am unable to set up the first and the second alarm in sequential order.  Seems reversed, as I put the first alarm for 2 hours, then the second alarm 30 minutes. When I will review prior to registration, they become reversed. I currently use a bit the main alarm at the moment.  Is this a known problem (I tried searching, without success)?

    From what I have witnessed, although it may seem strange in the order that they appear, alarms sound even in time that you put. In the example you give, regardless of what seems to be visible in the case, the first alarm will sound at 2 hours out and the second to 30 minutes. I do not believe, you will see a problem. I didn't, and I set a number of them. Sometimes, they seem to appear in their natural order, and sometimes they seem to look inverted. However, this always sound at the right time. Go ahead and test them, despite the way they appear and see they sound properly.

  • How to reverse the direction of scrolling using the mouse wheel which is simillar to 'natural' scroll of MAC

    I use the latest version of Firefox (31.0) on Windows Pro 8.1. I wanted to mimic OS X way of scrolling in the window of the browser called 'natural' to scroll. I edited the registry setting for my logitech mouse and scrolling works perfectly as I wanted it to every single window on my system with only one exception, the Firefox browser.
    Somehow, Firefox is configured to use the old method of scrolling and does not respect the registry settings of windows, as all other windows.
    Is it possible to change or reverse the direction of scrolling?

    Thank you
    Roman

    Roman Hello, try this: enter about: config in the address bar of firefox (confirmed the message information where it appears) and search for the preference named mousewheel.default.delta_multiplier_y. Double-click it and change its value to -100.

Maybe you are looking for