checkbox on enabling/disabling problem

Hello friends!

I have problems with two checkboxes. Initially, the first is turned on and off while the second is disabled and also unchecked. When you click on each the sysdate is entered in the corresponding columns in the table of my database. I want to make clickable only once and remains active after that.

The problem: when I click on the first the sysdate is inserted in my table and the box is checked, but it is not be disabled. After the click on the second box is checked, as it should be and becomes chekable. Then I click on the second, the sysdate is inserted in my table, the first checkbox is disabled, but second still remains clickable. Bottom line: current box does not respond to disabled (I tried two ways, through FAKE PERMITS and DISABLED TRUE, property of disabled was actually more "convenient").

The two boxes are on WHEN-BOX-CHANGE triggers.
CODE for the first checkbox (CHECK_SOSIRE):
Start
UPDATE think I PUT i.sosire = sysdate WHERE the i.cnp_vizitator =:bloc_portar.cnp; commit;
SET_ITEM_PROPERTY ('CHECK_PLECARE', ACTIVE, PROPERTY_TRUE);
end;

CODE for the second checkbox (CHECK_PLECARE):
Start
UPDATE think I PUT i.plecare = sysdate WHERE the i.cnp_vizitator =:bloc_portar.cnp; commit;
SET_ITEM_PROPERTY ('CHECK_SOSIRE', ACTIVE, PROPERTY_FALSE);
SET_ITEM_PROPERTY ('CHECK_PLECARE', ACTIVE, PROPERTY_FALSE);
end;

THX,
Iulian

Hello

You can't disable the same element for which you wrote the trigger. So, you might want to issue a go_item before disabling the current item.

Arun-

Tags: Oracle Development

Similar Questions

  • Change the color of the checkbox when enabled/disabled

    How can I do this using the Action tab in the properties of the check box in Acrobat 7.0 (NOT DESIGNER)?

    I added the boxes to the. PDF tool box (Text Only-No).

    I am filling the Green box when selected, and yellow when not selected ACTION > Mouse Up > run a JavaScript > Add and grasping javasript below without success:

    If (this.rawValue == '1') {this.fillColor = "0,255,0' ;} else {this.fillColor = '255,255,0' ;}"}

    Help, please!

    If you're AcroForm and not LiveCycle Designer, not use you LiveCycle Designer FormCalc syntax or references of LiveCycle Designer.

    With a single check box:

    {if (Event.Target.isBoxChecked (0))}
    event.target.fillColor = color.green;
    } else {}
    event.target.fillColor = color.yellow;
    }

  • Enable - disable problem

    Hi all!

    I use Forms 6i and Oracle 9i DB. I want to do that I have a button on the form and it's the devil, but when I type a word in a text field (before leaving the field) then this button should be activated. how it is?

    Help me...

    It will work, but you will need to set the very short time-out timer, and this will be one of the first thing that will cause trouble when later you must migrate 9i or 10 g on the web!

  • How to enable / disable certain fields based on the value of the checkbox

    This is probably a stupid question, but I was not able to find the trivial solution (I'm fairly new to the user's BlackBerry interface)

    Example scenario:

    Screen of the user interface with two components

    box: "Run daily.

    time field: ' to hh: mm ".

    If the check box is enabled, the hour field must be activated. If the check box is not selected, the time field should be disabled.

    I wasn't able to find a simple solution. The solution is to remove all components and re-create it with different style (Field.NON_FOCUSABLE |) Field.READONLY), but there are significant drawbacks:

    1. It's pretty messy keep the current value (if the user has modified the time field and click twice on the box, I would like to have the same value and the field must be dirty)
    2. She becomes more messy when you have more complicated logic (panels inside panels that should be enabled / disabled based on all parent checkboxes)

    Any ideas?

    Thanks in advance!

    The way I handled it was to the custom methods in areas that allow me to set the disabled and then state substitute TouchEvent, NavigationMovement and NavigationClick methods to search for this variable and simply return true if it is defined. This will take care of the FieldChanged States and targeted to make them unable to be activated.

  • Windows Defender need to manage the programs that run at startup and enable/disable the programs, but Security Essentials it is turned off. What should I do now?

    Windows Vista Edition Home Premium. Acer laptop. Windows Defender was already on the computer. Installed Security Essentials and it automatically disabled Defender. Problem: I need Windows Defender to manage start-up and turn programs programs (I don't?). I am NOT located with computers so simple to understand, step-by-step answers would be most appreciated. Thanks in advance...

    Hello

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Autoruns - free - see what programs are configured so that it starts automatically when
    your system boots and you connect. Autoruns also shows you the complete list of the registry
    and where applications can configure Auto-start for the files settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    I hope this helps.

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

  • How can I enable disable PSE9 on a Mac that has been deleted/sold?

    How can I enable disable PSE9 on a Mac that has been deleted/sold?

    Go here:

    Enable and disable Adobe products

    Scroll up to "still need help? Contact us. " Manage only activation can solve the problem, if you need to work your way through the link here, even when it looks like you will loop back to where you were right. Finally, you will be able to start a chat session and get it taken care of.

  • When I send a mass text by enabling / disabling message group, then I turn on message group, suddenly became a group text responses?

    When I send a mass text by enabling / disabling message group, then I turn on message group, suddenly became a group text responses?

    I sometimes send jokes or notifications to multiple contacts.  After I mass text them by activating / deactivating iMessage and Group Messages, then I switch on iMessage and Group Messages - will people I sent a mass text message can see phone numbers and the responses of the other?

    I think it should not because after sending the text it comes just up on their phone as a text message you only, but I want to just make sure

    Thank you

    Hello Eddie7777,

    Thanks for your post. I understand that you wanted to confirm if a mass message will convert to a group message after activating again Group Messaging. I certainly understand wanting to send a mass text message without launching a group of crazy message where number of all is shared. I'll be more than happy to help clarify.

    I tested on my iPhone, and so my previous knowledge on the messages, I discovered some great information. When you send a mass text with disabled group messaging message, it sends the messages individually and these other people only get a text without your mass SMS numbers. When you have enabled messaging group once again, it won't change the message on their end, and if they say it will for you.

    Hope this helps explain things!

    Take care!

  • How to enable/disable cookies in Firefox for iOS?

    How to enable/disable cookies in Firefox for iOS?

    Hi Aaaassssddddffff,
    To disable or enable cookies in Firefox iOS, you need a content blocker. This is done in Safari tap Settings > Safari > block Cookies

    Focus is a nice content for devices with ios 8 and maximum blocker, this could be a nice way to block certain content, including cookies. Focus by Firefox

  • How can I enable disable Activity Manager?

    How can I enable disable Activity Manager?

    General information:
    The activity Manager records all interactions between Thunderbird and your e-mail in one place provider. There is no guesswork more. Just look in one place to see what's going on with your email.
    Activity Manager allows you to follow more closely what is happening in the system and what activities are currently performed (for example, synchronization of folders offline IMAP, download new POP messages). The info in the status bar may appear and disappear quickly sometimes before able to read, but the info is displayed in the Manager activity.

    Useful in the audit of what has occurred and are auto stocks. This can help in the troubleshooting section.

    It appears if you select 'Tools' > 'the activity Manager.
    Thus, it is not something that suddenly arises every two minutes to annoy the user.
    The journal is deleted whenever you leave Thunderbird or you can clear the log manually.
    "Tools" > "activity Manager".
    Click on the button 'clear list '.

    This is an unusual request to stop the activity of logging as a background process and the only way to check what activity account has or has not occurred.

    I have searched and checked preferences to see if it could be turned off, but nothing helped.

  • How can I disable the "Zoom enabled / disabled Zoom" Notification.

    How can I disable the "Zoom enabled / disabled Zoom" Notification.

    I see a lot of people who don't don't not transparent "activated Zoom / Zoom disabled»

    After triple notification area by clicking on the Home button.

    My iPhone6 shows all the time and I want to turn it off.

    Thank you

    Chris

    Hi Chris,

    Here are the instructions to turn off the Zoom feature on your iPhone:

    If your home screen icons are magnified on your iPhone, iPad or iPod touch

    Disable Zoom in your device settings

    If you cannot access the settings because your home screen icons are magnified, double tap with three fingers on the screen to zoom out.

    To turn off the Zoom feature, go to settings > general > accessibility > Zoom > press the slider to turn off.

    Happy new year!

  • Enable/disable the touchpad in vista?

    Enable/disable the touchpad in vista?  no option in the control panel (mouse/device manager) made such reset suggested by Medion, still no joy-all ideas, guys?

    Hello

    · What is the model number of the computer?

    · You have installed the latest drivers for the device?

    · The touchpad mouse detect in Device Manager?

    · Do you remember all the recent changes on the computer before the show?

    Your question does contain all the required information necessary for us to help you. Go back with these details to help you better.

  • How to set my keyboard led lighting. Enable, disable, how long to stay on after the last shot. I had the functions to do this before or I've forgotten or lost abilities. And FN & Z do not work

    How to set my keyboard led lighting. Enable, disable, how long to stay on after the last shot. I had the functions to do this before or I've forgotten or lost abilities. And FN & Z do not work. I would have the size as a Properties window opens. It was about 12 tabs for different frunctions. «Please help me someone...» I would be grateful! »

    Hi Aldo,.

    What is the manufacturer, brand and model number accurate and complete from your computer?  What is the manufacturer, the brand and model of your keyboard?  We can not help you without more information on your specific computer.

    If you want to go faster, simply contact the Group technical support from the manufacturer of the computer or go to their support site and ask them or look for this issue.  If you provide us with the above information, we will go to their website and see if we can find the instructions (if we can) – and they will be able to do it faster and better than we can.  The choice is yours.

    I hope this helps.

    Good luck!

  • Enabling/disabling wireless adapter without administrator rights (Win 7 64 - bit)

    Is there a way to toggle wireless adapter without it as an administrator? Our political laptops where user access is limited and admin password is required to install all the software are submitted. Since the enabling/disabling wireless adapter requires Admin rights, users by default are not able to turn on/off wireless. However, our IT Department has confirmed that their policy has nothing to do with the wireless adapter and it's a setting in Win 7. Is there a solution to this? Thank you.

    There is no control of Windows 7 that will allow a user account Standard toggle the WiFi card.

    A Standard user account is limited to the secondary action of switching on & off WiFi using the F7 / Fn + F5 key or the key it is for the model [a switch is often provided in the dialog box Windows-X as well, "Windows Mobility Center" key].

  • API Java IOM silently ignores accounts like enable/disable/revoke operations

    Hello

    I am facing a strange situation here.

    My Java (standalone) application has been able to settle accounts placed in service in 'active' and then disabled enabled them.

    Now, the service accounts cannot be activated anymore.

    The Java API using ProvisioningService commands as 'enable', 'disable' and 'revoke' are simply ignored. No exception is thrown, no change.

    Am I missing a step? Do I need to run a regular job to 'validate' those changes made by the IOM Java API?

    How to debug this?

    TIA

    You can't turn something that is not disabled.  It should be disabled everything first.  You can return whatever the situation, you want those based on the activity of a process task.

    -Kevin

  • How can we display - hide or enable - disable the Captivate objects using javascript?

    How can one show - hide or enable - disable or change the color of the Captivate objects using javascript?

    All ideas, actually I want to avoid Advance Action assisted drop programming and want to do the actions of text encoding.

    You can show/hide and activate using the following syntax.

    CP. Show ("obj." + i)

    CP. Hide ("obj." + i)

    CP. Enable ("obj." + i)

    CP. Disable ("obj." + i)

Maybe you are looking for

  • Tool for basic text disappeared

    Hello I am currently using final cut pro x and recently I lived my base under the column text tool disappeared. On the left side of the image is my current text editor. I used to have the tool base on the right side of the image, as shown below to ch

  • ProBook 4530 s: 3D guard player win 10

    My 4530 s has fonctionnee windows 10 for 3 weeks without driveguard protection, its had a few minor bumps, but the hard drive still works well. I want to activate the guard in the car so I don't Handel my laptop like a baby. Win 10 does not show the

  • file transfer windows backup wps7 Windows 10 using the hard disk external. The files are zip files in windows 10

    How to open the files transferred from one computer to another computer using hardrive external. The host computer contains windows 7 wps writer and destination 10 windows computer. The files are zip compressed files.

  • The final Solution to network shares

    I have several Windows 7 in the household, all computers connected to the same router, a Netgear WNDR3700. For simplicity, let's call them 2 A and B, connected by Gigabit Ethernet. A can access the actions to the B through "network drive mapping. B c

  • USB drives are slow to respond

    I'm getting a little tired of USB drives taking a ridiculous amount of time to set up in Windows compared to my Linux machines.  On a Debian Linux machine, a USB installs in less than a second.  That exact same drive - when plugged into a Windows mac