Commit said non-changements after saving SQL update in forms

Hi all

The forms I using oracle 10g R2. In one of my form, I have a control unit on which there are certain elements of text when the user enter data in these elements, then press a button next to these items, which update a table of query update sql database

on the next line after the update query I called commit. procedure, then in the last

If form_success then
message ("the record being updated');
on the other
message ("update failed '");
end if;

the problem I am facing is first message appears FRM-4040 no change to save and then my message updated record, now my question is how can I avoid message non-changements because it creates confusion. Your response is much appreciated

974222 wrote:
Hi all

The forms I using oracle 10g R2. In one of my form, I have a control unit on which there are certain elements of text when the user enter data in these elements, then press a button next to these items, which update a table of query update sql database

on the next line after the update query I called commit. procedure, then in the last

If form_success then
message ("the record being updated');
on the other
message ("update failed '");
end if;

the problem I am facing is first message appears FRM-4040 no change to save and then my message updated record, now my question is how can I avoid message non-changements because it creates confusion. Your response is much appreciated

Then remove the trigger of the PREFORM.

Add the following code before your VALIDATION; code. smple

.....
:SYSTEM.MESSAGE_LEVEL := 5;

commit;

if form_success then
message ('record updated');
else
message ('updated failed');
end if;
:SYSTEM.MESSAGE_LEVEL := 0;

I hope this works...

Correct/good brand to help others to get the right answers.

Published by: HamidHelal on March 19, 2013 15:44

Tags: Oracle Development

Similar Questions

  • Icons change after running windows update

    When I install the updates from my office and the icons change to a different resolution. I have a hp laptop with 17 to mount. During the update the screen and icons become very big and I can't restore them unless I do a system restore. Why am I having this problem.

    Hello

    Follow these steps:

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    You can paste portions of error here, noted that some sections may repeat so only paste each
    profiles at once. A section is usually 10 lines or more.

    --------------------------------------------------------------
    run this Mr Fixit

    How to reset the Windows Update components?
    http://support.Microsoft.com/kb/971058 Rob - bicycle - Mark Twain said it is good.

  • My policy changed after an automatic update

    I have windows Vista Premium and yesterday he did an update auto-right after I noticed my computer changed all police

    for something that I don't like and you want to get it back to how it was.

    At first, I thought it was just my gmail account and then when I opened google and saw this police there also and also on my desktop, all the icons have this police

    I tried to change it, but have no idea this that or if I'm doing is OK as long as its doesn't come back to what I want. What is difficult, it's that I don't know the name of the font I had before.

    I tried two things:
    1. Tools-options-content -.

    2 customization-click more-advanced-icon options and choose arial here too

    But the police doesn't seem like arial at all. (I guess that was my arial, unfortunately, I'm not 100% - anyway until you find the name of the font that you had before an update?)

    I have experienced and went to the two methods above and repeated the process of choice of other fonts that could be and its not return me my old policy.

    Nobody knows how to help me? Thanks in advance

     
  • Google play language has changed after the firmware update

    My xperia xa language is Turkish. After firmware update that he changed to English, how can I change to Turkish back...

    Solved after that reset sony pc phone app. thank you...

  • Windows 7 splash screen will not change after the vista update

    After updating vista 32 bit to windows 7 32 bits, the splash screen will not change and he showed the vista boot. I read a lot of forum and the web page, but this solution:

    «.. . the dummies and bad start screen for Windows 7 is due to the locale entry in the startup folder, which could not be set when editing or rebuilding the BCD. When the locale is not found, Windows boot loader doesn't know what local startup folder to look for the animated bootscreen. Thus, in order to fix the boot screen so that the splash screen can be re-established, restored or reset to original animated Windows 7 boot screen, just run one of the following commands at the prompt with administrator rights:

    bcdedit/set {current} settings regional en-US

    or

    BCDboot % WinDir % / l en

    Change the US to the language version of Windows 7 installed, as ja - JP, en - us, es - ARE, pt - BR, zh - CN, zh - TW, fr - FR, fi - FI and etc.

    Restart the computer after running the command to see the new boot UI (user interface) be used again. To check if the locale has been entered properly, just run the bceedit command in the command prompt that is running as an administrator... »

    not solved my problem and also know for many users... after updating vista in windows 7 splash screen stay the same...

    Thanks for your help
    Hispanico hispanico

    Hi hispanico,

    Thank you for visiting Microsoft Answers.

    I suggest you do a repair from WinRE (Windows Recovery Environment) system using a Windows 7 installation disc. Follow these steps:

    1. turn on your computer, insert the Windows installation DVD, and then restart your computer.

    2. Press any key when prompted to do so and follow the instructions that appear.

    3. when the Windows Installer page, click repair your computer to access system recovery options.

    4. follow the instructions.

    Please visit these links for more information on the Startup Repair:

    1. http://windows.microsoft.com/en-us/windows7/Startup-Repair-frequently-asked-questions

    2. http://windows.microsoft.com/en-US/windows7/What-are-the-system-recovery-options-in-Windows-7

    Kind regards
    Amal-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Windows 7 has changed after the Automatic Updates - screen resolution may not change back

    Last night was automatic updates from Microsoft.  Today, the resolution of the screen and the icons are huge.   Tried to change the resolution of the screen through Control Panel but can not find the same as before.  I tried to adjust the zoom level on Chrome but now everything is long and lean.

    Tried to do a system restore, but it has a red x next to it and will let me not turn it on.  How to restore my resolution wallpapers and icons to their previous size etc?

    Completely, remove the current (or software) driver and install the latest driver available.  For instructions on how to do read everything to update the drivers of my partner JMH3143 http://answers.microsoft.com/en-us/windows/wiki/windows_other-hardware/updating-a-driver/a5e6345e-af9b-4099-bef0-8d22254aa1c1?tm=1436753520149 here
  • My Blackberry blackBerry 10 ID is not recognized after have changed after the last update.

    So I couldn't remember the password after that I didn't download it later. I was on a laptop and deleted then created the new ID I still get alerts 'need one or more apps ID... He never acknowledges new password. It also means that I can't update apps BBW!

    check out this post... http://supportforums.BlackBerry.com/T5/downloaded-applications/how-to-regain-access-to-your-BBID/m-p...

  • BBM PIN changed after, connect to another device, former could be restored?

    Hello

    I installed BBM on my android device, it works very well.

    Then I went to uninstall it because it tends to drain my battery.

    Later, I install BBM on my device another (with a longer battery life) and I connected with same email ID, but my PIN has been changed (but my contacts are always preserved)

    I thought that the PIN is attached with his e-mail account.

    Can I restore my old PIN and how?

    It is possible for people to invite me use my old PIN under my current device with the new current PIN?

    Thank you

    The PIN is unique to the device.  No, you cannot migrate pine between devices (if you were somehow able to hack the client to change the axis to the new, you will probably be locked).  It is one of the BlackBerry's built-in security features.  This is to prevent people from cloning devices (ie. make false BlackBerry devices).

    Your BBM contacts are saved in the database BBID.  They are related to your BBID.

    People should use your new pin code or your e-mail address (BBID) for you send an invitation.

  • Firefox extension: 'TrueSuite 5.2.500.16' stopped working after the last update of firefox (30.0), although subject: said plugin activated. No difficulty to make it work?

    Firefox extension: 'TrueSuite 5.2.500.16' stopped working after the last update of firefox (30.0), although subject: said plugin activated.

    I tried to reset firefox and search for similar problems, unfortunately found nothing.

    It is also weird empty space before the address in the address bar

    other extensions and addons seems to work very well.

    Firefox 30 spent some less commonly used "Always turned on" plugins "asking to activate. To check and change this to TrueSuite, you can use the page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click on Plugins. Then on the right, check the setting on the right side of TrueSuite.

    Any difference?

    Note to other readers: the original poster had to leave Firefox and start it again until it is actually entered into force.

  • Dynabook G9: Changed Toshiba start screen after trying to update BIOS

    Good day, everyone!

    It is not a problem, but I would like to know how it could happen so I a "Dynabook G9" laptop that was purchased from the Japan. It's like satellite 5200 series... When I turned it on, the logo "DYNABOOK" displayed and computer kept loading... a few days ago, I have tried to update the BIOS but downloaded the Russian from Toshiba Web site for 5200 series update... cause there is no BIOS update on the Japanese site...

    When I run the downloaded file, it says I have BIOS v 1.40 and it can not be updated v 1.50 because it isn't for my laptop... so my idea to use the update for European laptops did not work... but the question is that now I have "in touch with tomorrow Toshiba" logo instead of "DYNABOOK" and how it could happen? And how can I get it back?

    Computer still works fine... but... I do not know... I like just the "DYNABOOK" logo more :-)

    P.S. maybe it changed not after trying to update the BIOS (I'm not really sure) but it has certainly changed.

    I already wrote something in the other topic and because of that I just want to say hi again ;)

    Dear Andrey problem is that Toshiba does not portable as produced big world and there are several global areas: U.S. market area EMEA (Europe-Middle East-Africa) and also in Asia. I am not sure if the Japan is separately but I think it is.

    Also books produced in all areas are suitable for each other. Because of this, you cannot mix BIOS and Toshiba has designed tools and utilities. I think that in most cases, it can work, but it is not for sure. Support page for notebook EMEA, it is recommended to use the BIOS and other stuff explicitly of Toshiba Europe. For US books there are all the drivers, tools and utilities on the Toshiba U.S. support page.

    Now, you have Japanese laptop and use non - Japanese BIOS or software. For me, it makes sense that some changes will happen. I don't think anyone has good experiences with it, but you should be happy that your laptop works well.

    All that s what I can say about it.

    In any case, good luck and have fun with your toys!

  • Saved passwords do not work after the automatic update

    Firefox Auto-setting to update itself on a windows 8.1 machine 35.0. But none of the saved passwords work, I see all the passwords in options-> Security-> saved passwords, but when I go on a website he fills the username, but does not have the password. If I manually enter the password that it does not offer to 'save' (so of course that he knows it's a password for this site)

    Very annoying.

    Should I just back up and reinstall 35.0 from scratch?

    I keep backups separated from all my files so I was able to restore passwords support. Apparently during the auto-update feature that something has been corrupted into logins.json or keys3.db cause no amount of re - install firefox on the existing files worked.

  • password changed after update

    computer, just update the BIOS and changed my password.this is password I use to get in my computer normally.miracle I worked on password he wanted but it isn't the one I use every day. turned computer and rebooted but he wanted even password.why he did this. Thank you

    Hi there @ruth46,

    Welcome to the Forums of HP Support! It's a good place to find the help you need, other users, the HP experts and other members of the support staff. I understand that after a BIOS update your system starts with a different password. I'm happy to help you with this.

    Is the password request you a specific BIOS password? If so, it is possible that with the update tweaks has been changed and activated BIOS security on start up.  In this case you should check your BIOS settings in particular security settings. You can remove or disable this password, or just look at the parameter allow its use on start up.

    If this is the case, rather a different password you talk, and then send the complete product and the operating system running on your computer. Check out the following, if you need assistance with this information.

    How can I find my model number or product number?
    Is the Version of Windows on my computer 32-bit or 64-bit?

    Please let me know how it works for you and if it does not solve your problem, please mark this message as a solution. Bravo would be appreciated as well.

  • Satellite A100-153: changes after BIOS Update V2.00

    Where can I see what the new bios update change? I want to know it befor I flashed the bios because the last time that my phone no longer works after a bios update and I had to bring to toshiba. So I hope you can help me.

    THX

    Post edited by: LukasU

    Hello, Lukas

    Unfortunately there no public document on this subject, but if you see other topics, you will see the latest version fix some graphics issues and it is confirmed that the latest version fix this with success.

    I put t know why your last update of the BIOS has been without success, but when you do the BIOS update please remember there is no external device connected, and is very important to do with AC power only and not with power supply battery. Before you start with the update BIOS please Info how to do this.

    Good bye

  • Icons on Razr Maxx changed after Google update

    I was wondering why my icons for my weather channel and also google chrome app application changed after the update! Icons has opted for the little green droid! It isn't really a problem, I was wondering if anyone else has noticed the same thing in these last days?

    J.R. Pierce

    Remove it from the home screen and "re-add-the, they must be good after. Sometimes, this happens after an update.

  • After the last update of xp, we have not been able to change user without password. What do we do?

    Original title: change user

    After the last update of xp, we have not been able to change user without password. We do not know the password. What can we do?

    See if that helps...
    Cannot lock a "locked" computer administrator
    Be sure to check your screen savers.

Maybe you are looking for