Need add/update two records on click on the create/update button

I have a table with 5 columns

1 ID - primary key

2 name

3. address

4 CARB

5 KADER

Now whenever I do an insert in this table to this table I have to add two rows, as shown below:

1st row - (name1, Add1, 717, 717)

2nd place - (name1, Add1, 515, 515)

Name and address values are entries of the screen and the CARB & KADER values are fixed (717 or 515). So for each click on the button create two records needs to be inserted.

Even when I update to say record particular Carb - 717 & kader-717, I must also update other file too Carb-515 & kader-515. For each click on the update button, so I need to update two records.

Please tell me as to how I will do this

Hello

Why do you not use insert manual and update according to your requirement process?... Gives 'Never' for automatic processing of the DML and try to create a manual process (PL/SQL blocks) and give the condition.

Thank you

Lacombe

Tags: Database

Similar Questions

  • CD will not burn. If I'm supposed to click on the "burn CD" button it won't allow me and keep out my CD. Help.

    Problem burning a music CD. New pack of music CD CD - R Maxell I have downloaded & torn the music I want to burn fine. I moved all the titles in the burn list. They're sitting there. I clicked on BURN and then put my cd in. At the bottom of the burn - list if I'm supposed to click on the "burn CD" button it not let me and hold on my CD. Help.

    Hello

    Thank you for writing to Microsoft Communities. I understand that you are unable to burn the music files on the computer.

    Until we start troubleshooting on this issue please provides us additional information by answering a few questions, this will help us better solutions to the problems.

    1. do you receive an error message when CD burning?

    2. do you have a third-party CD/DVD burning software installed on the computer?

    3. are you able to burn with other files?

    4. what applications do you use to burn music files?

    5. What is the format of the file you are trying to burn music?

    Please go ahead and follow the steps mentioned and later a update on the State of the question.

    Method 1: Try running fix the link.

    Your CD or DVD drive cannot read or write media

    http://support.Microsoft.com/mats/cd_dvd_drive_problems/en-us

    Method 2: Your CD or DVD drive is missing or is not recognized by Windows or other programs: http://support.microsoft.com/kb/314060

    Please follow these recommended steps and post if you still experience the problem.

  • In Acrobat Reader ms for Android, how to stop we Verizon cloud to launch when you click on the floating action button to recover the files?

    I have a Verizon Samsung S5 Galaxy brand, which means many Verizon apps have been added since the installation of the plant.

    Recently I have updated Adobe Acrobat Reader to the latest version.
    When I clicked on the floating action button to open a PDF file, it launched Verizon cloud rather than show my directory of files.

    Unless I disabled it Verizon Cloud altogether, whenever I did, I would get the app from Verizon cloud instead of a list of files.

    CD player is the only application that did such a thing. Is it a defect?

    Thanks for the information.

    To remove the application Adobe Acrobat DC Verizon cloud storage, you can "turn off" the application of cloud of Verizon 'Settings'--> 'Application Manager'--> 'applications '. After that, whenever you press the floating Action button, you will get a list of all your pdf files on your device.

    If you want to see both the Verizon cloud based files as well as files of your internal/SD memory card, I ask allows you to download an application from file manager to game Google for example and explore, shop ES File Explorer etc. After that, whenever you rely on the floating action button, you will receive an option to open the files either from the cloud of Verizon or the files on your device.

    I hope this helps. Please let us know if you observe problems more.

    Thank you.

  • When I click on the "buy now" button for gift of my friend and itunes, it says that I must contact the support of itunes store to complete the transaction, what should I do?

    When I click on the "buy now" button for gift of my friend and itunes, it says that I must contact the support of itunes store to complete the transaction, what should I do?

    Saiyan Minion wrote:

    He says I have to contact the itunes store support to complete the transaction, what should I do?

    He said the support to contact iTunes.

  • I installed a trial version of Adobe Photoshop elements 12 and now want to buy it. How to do that, please click on the BUY NOW button does not help.

    Can someone help please I want to buy the trial version of Adobe Photoshop Elements? I click on the buy now button buy which doesn't help and of course, I don't have a serial number for the trial version. It is a nightmare situation.

    Why do they want to buy version 12? Just because the facilities on version 14 does not by default for crops I want that is 9 "x 6" with 300 dpi.

    I had to put these dimensions for each image that the dimensions were nit a "sticky" option As I say nightmare. Grrrrr.

    You are welcome.

    If most of the pse 14 users are able to do what you want, but you are not able, reset preferences 14 PES, and try again.

    https://helpx.Adobe.com/Photoshop-elements/KB/preference-file-locations-Photoshop-elements .html

    http://www.photokaboom.com/photography/learn/Photoshop_Elements/troubleshooting/1_delete_p references_file.htm

  • I downloaded LR6 to a new HP Pavilion computer and when I try to change in developing all I get is a blue screen. Photos are .dng when I click on the before / after button, I get a partial view of the picture and the part is still the blue light in the re

    I downloaded LR6 to a new computer HP Pavilion. 10 windows and when I try to change in developing all that I get is a blue screen. Photos are .dng but when I click on the before / after button, I get a partial view of the picture and the part is still the blue light in the rear section. When in the module library, photography is able to be seen, but as soon as I click on the development, I see a flash of the photo and then the screen is all blue where I would like to see the photo. I opened both the old and the new computer and against each element and they are identical with the exception of the blue screen. I wonder if it has something to do with the magnifying glass?

    Go in Edition > Preferences > Performance and uncheck CPU graph use.

  • By comparing the two records and return only the differences

    Hi all!

    Assume the records as follows:
    USERID     USERNAME   STREET   CITY   PHONE        
    ---------- ---------- -------- ------ -------------
             1 John Smith Street 1 City 1              
             1 John Smith Street 1 City 1 (31) 234-1234
    UserID is PK on this table. Imagine that this application represents two versions of the same record on a table. This recording was 'day' and the phone field changed from null to "(31) 234-1234'.»

    What I´d like to do is to retrieve only (or fields) that changed between these 2 versions of the same record. The idea is to call this query (or process PLSQL) a trigger and save these data on a table. The data returned by the query (or process), on the example above, should be something like:
           USERID     USERNAME STREET CITY PHONE        
    ---------- -------- ------ ---- -------------
             1                      (31) 234-1234
    1 row selected.
    If two columns have been modified, (Eg., City column also changed "City 1' to 'city 12'), the return value should be:
    USERID     USERNAME STREET CITY   PHONE        
    ---------- -------- ------ ------ -------------
             1                 City12 (31) 234-1234
    1 row selected.
    Any idea?
    Thank you very much for your attention.

    Hello

    What I´d like to do is to retrieve only (or fields) that changed between these 2 versions of the same record. The idea is to call this query (or process PLSQL) a trigger and save these data on a table.

    Looks like you're simply wanting a trigger?

    Something like:

    CREATE OR REPLACE TRIGGER audit_trg
      AFTER UPDATE ON your_table
      FOR EACH ROW
    BEGIN
    
     INSERT INTO audit_table(userid, username, street, city, phone)
     VALUES(
       :new.userid,
       nullif(:new.username, :old.username),
       nullif(:new.street, :old.street),
       nullif(:new.city, :old.city),
       nullif(:new.phone, :old.phone)
     );
    
    END;
    /
    
  • NEED TO MERGE TWO ADMINISTRATIVE ACCOUNTS AND ALL THE FILES IN XP - NO WINDOWS 7! CANNOT FIND TRANSFER IFTO ANYWHERE.

    I desperately need to merge two administrative accounts on my laptop - using XP and NOT windows 7 (so there is no transfer Assistant). I need to transfer all of the OLD admin. account in the NEW Admin account.

    For the full backup used Carbonite - due erase hard drive and reinstall XP - carbonite cust. veeeeery slooooow service and I had to use the laptop for the preparatory work.  When the backup has been restored, he implemented the administrative account of origin, besides I have created a new.  Now, most of the files are under the old administrative account, and I need to move the OLD files in the NEW Admin account.

    Would sincerely appreciate your very specific instructions? ... step by step, if possible? Not quite a prolific technician, but no slouch, not more.

    Thank you very much!

    You can't really merge two accounts. You can copy data from one account to the other. Folder options > view tab > check "Show hidden files". Then go to:

    c:\Documents and Settings\name of the old account and copy the files to My Documents, desktop, Favorites in folders in your new user account. When you have all your stuff, you can delete the old user account from the control panel > user accounts. MS - MVP - Elephant Boy computers - don't panic!

  • Adobe Captivate 7 - control the visibility of the two navigation buttons according to by clicking on the "sending answers" - button

    Hello

    How can I do the following:

    The navigation of my e-learning consists of two arrows. By clicking on one that you can move forward, by clicking on the other, you can go back.

    When users reached a Drag and Drop exercise slide in e-learning, should not go backward or forward, so the navigation should be disappear. The learner must answer the drag and drop exercise by clicklng the button 'send reply '. After that, the navigation should appear.

    I have UN-click on the checkbox for the two arros 'visible in the output' in the settings for the group that contains the two arrows, so they are not visible in the output for the moment

    How to go on?

    I think I have to combine the "submit answer" button action, but I can't assign an action on the button "send the answers."

    So should I assign an action to the slide? But which?

    Thanks for your help!

    Greetings

    Erica

    You can use the Drag and Drop action success of interaction to DISPLAY the missing arrows when a user correctly place all objects to slide on their targets.

  • When I click on the new tab button, new tab does not open.

    Also, do a right click on the new tab and selecting open, does not open the new tab.

    Why can't I open new tabs, and what needs to be done to solve this problem?

    Uninstall the Ask Toolbar. It can cause this problem.

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • When I click on the 'New tab' button, or try to open a new tab in the Menu "File Pull Down", a new tab will not open. How can I fix it?

    I can't open new tabs. The new tab button, new tab in the file menu option and the new tab option when I right click on the tab all do not work. It started when I updated Firefox yesterday. It becomes annoying when you try to work with several tabs open. How can I fix?

    Try to uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and the current version of Firefox.

  • Is there a a way to start a VI by using a Boolean control in my front instead of click on the right arrow button white?

    I am trying to determine if there is a way to run a VI of the façade without clicking on the

    White right arrow button.

    All suggestions are welcome!

    Yes.

    You set your VI run at the opening.  Then you put a start button in a while loop with a small wait statement in front of the real part of your code.  (You will need an addiction to data between you and that main code, either a wire or a flat sequence structure).  This start button stops all loop and allows the rest of the code to run.

    Best solutions would require a structure of the event and possibly a state machine architecture.

  • How can I disable the mail when I turn on the program. I can't wait until I click on the get email button until it introduces mail

    I don't want the program to bring on my mail until I click on the button get by e-mail. I watch my mail on my providers site and remove the item I want to watch before moving to Thunderbird to read actually. And I don't want to receive any mail that might come to me, until I can determine if I want to read first.

    Disable the "check for new messages at startup' in your account settings.

  • 14 - how to make Firefox for my start page launched during the click on the "new tab" - button?

    I want to my homepage (Google) launched with by clicking on the + tab at the top. However, I donot want another plugin added.

    It may set up one way or the other?

    TIA
    =

    Hello

    You can try setting tha value of browser.newtab.url on google in Subject: config.

    1. In the address bar, type Subject: config and press enter. The subject: config "this might void your warranty!" warning page may appear.
    2. Click on I'll be careful, I promise!, to continue on the subject: config page.

    Customize the new tab page

    Subject: config entries

  • Unhandled exception in AXFCustom.launch_command_soap SQLCODE =-29273: ORA-29273: HTTP request failed error when clicking on the EBS Zoom button

    Hello

    I use Oracle EBS, whenever I click on the Zoom button I get the error at the bottom of the page below.

    Unhandled exception in AXFCustom.launch_command_soap SQLCODE =-29273: ORA-29273: HTTP request failed

    When I checked the master.log file I see the error log entry below.

    < SNIP >

    path Wallet AXFCustom.launch_command_soap = file:/u020/dba/wci-wallet/sd12t-wallet 23/03/2015-22:09:44

    23/03/2015-22:09:55 unhandled exception in AXFCustom.launch_command_soap SQLCODE =-29273: ORA-29273: HTTP request failed

    ORA-06512: at "SYS." UTL_HTTP", line 1130

    ORA-29106: could not import the PKCS #12 wallet.

    ORA-06512: at the 'APPS '. AXF_SOAPCALL', line 14

    23/03/2015-22:09:55 AXFCustom.main: output

    < / SNIP >

    Please provide your input on this.

    Thank you

    Shakeel

    Hi Shakeel,

    This error occurs when there is some value (which is unnecessary) present in the column "AXF_WalletKey."

    To resolve the above error, please follow the steps below.

    1. connect to AXF schema using SQL developer.

    2. run the command AXF diagram below.

    Call fnd_vault.put ('AXF ', 'AXFWalletKey',' ');

    commit;

    3. disconnect the session of EBS log on again and check the Zoom button.

    Kind regards

    Rahul

Maybe you are looking for