Inserting record using form does not work. Please Help

I am trying to insert a record using INSERT INTO command in a form followed by commit.
I put the command in when-button-press trigger( I use a button to initiate insert into table command).
But it does insert the record into the table.
Then I try to ignore the INSERT INTO command and only use COMMIT, and it works.
But when I use control block, I can not use commit only to insert into table.
Is there anything that I have missed ?
PLease help. I had tried to solve this fora week.
Thank you, I really appreciate any response.

Setting your block as a datablock with source as a specified table and a number of items connected to specified columns gives you direct access to your table. Thus your commit alone will work. The second you change this to a control block, you cut your connection to the table. Thus you must use an insert into statement followed by a commit. By the way, when you use a commit statement, it processes exactly like a commit_form inbuilt function.
Hope this helps,
Dave

Similar Messages

  • I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    You mean an image such as a scanned document?
    If that is the case, the file doesn't contain any text for Reader Out Loud to read. In order to fix that, you would need an application such as Adobe Acrobat that does Optical Character Recognition to convert the images to actual text.
    You can also try to export the file as a Word document or something else using ExportPDF which I believe offers OCR and is cheaper than Acrobat.

  • Insert in Tabular form does not work after the upgrade to APEX 4.0

    Hi all,
    Thx in advance for looking into the issue.
    We are running into following issue when we upgraded APEX 3.2 to APEX 4.02
    1) The Tabular form insert does not work.
    2) We are fatching the value of the Global variable APEX_APPLICATION.g_XXXX in a procedure and we get null for this value after submit for new row to be inserted.
    The tabular form was working fine in APEX 3.2.
    The Update and Delete works just fine.
    Any help in this regard is highly appreciated.
    Thx and regards,
    Mahesh

    Here is my workaround to get the ADDROW/SUBMIT working again if you have a legacy Tabular Form:
    1     PAGE ATTRIBUTES               
              JAVASCRIPT          
              FUNCTION AND GLOBAL VARIABLE DECLARATION          
                   var htmldb_delete_message='"DELETE_CONFIRM_MSG"';     
    2     DELETE BUTTON               
              ACTION WHEN BUTTON CLICKED          
              URL Target          change to
                   javascript:apex.confirm(htmldb_delete_message,'MULTI_ROW_DELETE');     
    3     ADDROW BUTTON               
              ACTION WHEN BUTTON CLICKED          
              Action           
                   redirect to URL     
              URL Target          
                   javascript:addRow();     
    4     PROCESS               
              APPLYMRU (activitated by button ADDROW)          
              CONDITION          
                   never or delete     
    5     PROCESS               
              ADDROWS          
              CONDITION          
                   never or delete     
    6     CHANGE PAGE TEMPLATE to e.g. THEME 13 One Level Tabs.               
    7     IF YOU WANT ADD FUNCTIONALITY TO GOTO BOTTOM OF PAGE AFTER ADDROW               
         1. In the page footer put <a name="bottom_of_page"></a>                
         2. Amend the action when the "ADD" button is clicked to scroll down to the new region by doing the following:               
         - edit "ADD" button               
         - Go to "Action when button Clicked" section               
         - Amend "URL Target" from               
         javascript:addRow();                
         to               
         javascript:addRow();window.location='#bottom_of_page' ;               
    regards
    PaulP

  • OS X Mountain lion code does NOT work - Please help

    I bought my 2012 Macbook pro June 21 2012. I qualify for the free OS X Mountain lion upgrade. I got my emails, one with the PDF file, one with the password to it. I open up the red PDF file, enter my password and it does NOT work. I took my password to the Mac App store, clicked Quick Link, Redeem, placed my code in and it STILL DOES NOT work. PLEASE HELP!!! I need the new OS, plus Im supposed to get it for free! Its not fair how they sent me a bad code / improper instructions on how to redeem it.

    suggestion - call apple.....since we're all users here, it's hard to give you the right suggestion/answer regarding your issue...

  • Maverick update now my login screen does not work please help.

    Hello hope you can help.  I have a 24 inch Mid 2007 Intel iMac.  It has been great until now.  I recently did the Maverick update and now my login screen does not work.  When I wake the computer up the screen appars with my picture icon.  When I click on it nothing happens.  If I click on it a second or third time the beach ball appears and nothing happens.  I have to shut the unit down with the power button and when the unit powers back up everything works normally.  Are there any suggestions out there?  I have updated the software without resolution. Is this computer too old?   Do I have to buy a new one?
    Thank you

    Your iMac can support Mavericks according to the requirements > OS X Mavericks: System Requirements
    Try a Safe Mode boot. That deletes some system caches that may help.
    Startup your Mac in Safe Mode
    A Safe Mode boot takes much longer than a normal boot so be patient.
    Once you are in Safe Mode, click Restart from the Apple () menu.
    See if there's an improvement for the login screen.

  • HT4623 When I go to my mail it is now asking me for my yahoo account password I try and it does not work please help

    I opened my I pad and for the first time it's asking me to show my yahoo password and I try and it does not work

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • My App Store does not work, please help

    When I click on the app I would like to purchase or download
    On the App Store it does not give me the option to actually download it, I'm not great with macs any answer
    Is aprreciated

    is this happening on your phone or your MAC?

  • My iPhone won't charge and the sleep button does not work, Please Help!

    I woke up this morning and my iphone was dead. I have been using the assisted touch setting because one day for no particular reason my sleep button stopped working, so I can't even try a hard reset now.  The phone never had a bad drop and the only way it could be water damaged is from being in a steamy bathroom. If anyone has a suggestion as to how to get my phone to work again, Please leave a suggestion!!
    Thank you

    It could be that your button has justy gone out.  You may try getting compressed air to blow out any dust in there.  If that doesn't work, you may have to get your button and ribbon replaced.

  • My iPhone got stolen and FindMyiPhone does not work PLEASE HELP!

    Hello there.
    This is my first post and I got a question.
    Here's my story
    My iPhone 3GS got stolen this week and I had "FindmyiPhone" (iOS 5.0.1) configured, but when I try to locate my iPhone it will show up as "offline".
    I've once heared you can trace your iPhone by an EMEI or UPC number or something like that.
    Do you guys know more about that so I can trace down my iPhone and can show it the police?
    Thanks!
    Kind regards,
    Renzeau

    I just got my macbook pro stolen last night. the theive opened it and I got the email from findmyiphone. I can see which house it is at, but the thing is cops can't help. Im still watching it on my iphone waiting for them to ope it again so I can see its location. But Im already ****** as $%#% because 911 told me that they cant keep following a missing laptop.
    so that was my story, right now my macbook is showing as red also. But keep watching it because they have to turn it on eventually and as long as you check email me when found on icloud.com then you will get an email. Or you can also keep watching on your computer.
    So again go on icloud.com and sign in with the itunes account/email that you use on your iphone, you'll see the find my iPhone option there!

  • Update Firefox to version 17 (the newest version) - Green button link does not work, please help

    Hello,
    I currently have Firefox version 16.0.2 installed on my laptop with Windows 7.
    Every time I attempt to go to the update site (http://www.mozilla.org/en-US/firefox/new/) and click on the green update button, I am sent to the 'Thank you' page, and no download begins.
    After that page, it attempts to redirect, I am assuming to the download; URL is https://download.mozilla.org/?product=firefox-17.0.1&os=win&lang=en-US
    I receive the following error: Unable to connect - Firefox can't establish a connection to the server at download.mozilla.org.
    Please let me know how I can update my Firefox to the latest version.
    Many thanks.
    J. Ng

    12/07/2012
    Good day,
    Same problem until I cleared the 67MB cached web content under:
    Tools>Options>Network
    It immediately took care of it without a browser restart.
    Cheers!

  • HT1338 Whenever I go to facetime on my macbook air it says call failed. My wifi is on, and so is my facetime. I tried turning it off , and back on but it's still not working please help.

    Whenever I go to facetime on my macbook air it says call failed. Both my WiFi and Facetime are connected. I tried turning my Facetime on, and off,yet it still does not work. please help.

    Hey Ekfree95,
    Thanks for the question, and great troubleshooting so far. The following article provides additional steps that may have to resolve your issue:
    FaceTime for Mac: Troubleshooting FaceTime
    http://support.apple.com/kb/TS4185
    Thanks,
    Matt M.

  • Form does not work

    Hi
    I use Adobe Livecycle Designer7.0 English and Acrobat7.0.8 Japanese. I made forms to upload to Workflow Server. One form I made does not work at all when the form is opened in the Form Manager.
    It is strange that the PDF preview of the Designer works well.
    1. Page Counter
    In the master page of the form I set a page counter field from the custom library. In the preview it works well but when the form is opened from Form Manager it does not work. It looks like "Page ##/##".
    2. Font is not shown
    I put a button in the form. The font of the button is set to "MS UI Gothic", but when the form is opened from Form Manager the font of the button is "KozukaMincho".
    3. JavaScript does not work
    I wrote javascript to change the caption of fields like this.
    ----- form1.#subform[0].Button1::click - (Javascript, client)
    FieldA.rawValue = "test";
    FieldB.rawValue = "test2";
    This script does not work too when the form is opened.
    These issues are basic but I do not know where is wrong. Because no error message appears when I test the form in the PC.
    Please advise about these issues.
    Thanks,
    Akira

    Hi Jared,<br /><br />I am very glad to read your reply. <br />I added a button with the script you wrote in previous reply and found that Form Manager changed the root tag. <br /><br />The xsd file I define to the data is like this<br /><br />b <Message>  //rootnode name <br /><br /> <Heade></Header><br /> <Contents><br />  <FieldA></FieldA><br />  ......<br /> </Contents><br /> <Footer><Footer><br /></Message><br /><br />So, I set the structure of the form like this.<br /><br />b <Message>          //This is name of contents area<br /><br /> <Header></Header> //Subform name<br /> <Contents>        //Subform name<br />  <FieldA></FieldA><br />   ......<br /> </Contents><br /> <Footer></Footer> // Subform name<br /></Message> <br /><br />But the saveXML script write out like this:<br /><br />b <fields><br /><br /> <Header></Header><br /> <Contents><br />  <FieldA></FieldA><br />  ......<br /> </Contents><br /> <Footer></Footer><br /></fields> <br /><br />So I changed all of the Javascript using relative path and I upload this form again to the FM, but this form does not work...<br />I am not sure that it must be the same name between the rootnode of the xsd file and the name of the contents area. <br /><br />Jared and all, would you let me know whatever you find about this issues.<br /><br />Best regards,<br />Akira

  • HT201412 my iphone 4s does not start by power switch, it starts when i connect to pc. the proximity sensor is not working. please help

    my iphone 4s does not start by power switch, it starts when i connect to pc. the proximity sensor is not working. please help.

    Sounds like it may be a hardware issue.
    Please contact Apple Support in your country.
    Here is a list of numbers: http://support.apple.com/kb/HE57
    Regards
    J

  • I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4

    I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4

    I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4

  • HT201320 I have ne iphone 5, i been setting my email using AT&T global but it is not working, please help me on the correct configuration

    I have ne iphone 5, i been setting my email using AT&T global but it is not working, please help me on the correct configuration

    Contact the email provider and obtain the correct setup information.

Maybe you are looking for