Insert/Update Stmt not working

Hello,
I have created a region that hides and shows based on on javascript. I had to add a new field into this region and now it won't write to the database, it displays correctly on the form. I copied the field from another field and renamed it to p12_joint_service_trng. The field is a radio button that uses a LOV
It will not write the p12_joint_service_trng to the database and I'm not getting any syntax errors for it. The other code works correctly.
The page process below:
-------------INSERT/UPDATE INTO DFCY_CATG_TABLE-----------
IF :P12_DFCY_SEQNO4 IS NULL and :P12_DFCY_CATG_C IN('1','2','7','6','3') THEN
INSERT INTO DFCY_CATG (DFCY_SEQNO,DFCY_CATG_C,INFRSTRCTR_NARR,OPFORCE_EMP_NARR,PERS_QTY )
VALUES(:P12_DFCY_SEQNO,:P12_DFCY_CATG_C,:P12_INFRSTRCTR_NARR,:P12_OPFORCE_EMP_NARR,v_dfcy_pers_qty);
ELSE
UPDATE DFCY_CATG
SET INFRSTRCTR_NARR = :P12_INFRSTRCTR_NARR,
PERS_QTY = :P12_PERS_QTY,
OPFORCE_EMP_NARR = :P12_OPFORCE_EMP_NARR
WHERE DFCY_SEQNO = :P12_DFCY_SEQNO;
END IF;
------------------------INSERT/UPDATE DFCY_CATG_TRNG----------------------------------------
-------------INSERT/UPDATE INTO DFCY_CATG_TABLE TRAINING-----------
IF :P12_DFCY_SEQNO4 IS NULL and :P12_DFCY_CATG_C = '4' THEN
INSERT INTO DFCY_CATG(DFCY_SEQNO, DFCY_CATG_C, JOINT_SERVICE)
VALUES(:P12_DFCY_SEQNO, :P12_DFCY_CATG_C, :P12_JOINT_SERVICE_TRNG);
ELSE
UPDATE DFCY_CATG
SET JOINT_SERVICE = :P12_JOINT_SERVICE_TRNG
WHERE DFCY_SEQNO  = :P12_DFCY_SEQNO;
END IF;
---------------INSERT/UPDATE DFCY_CATG_TABLE_POLICY----------------
IF :P12_DFCY_SEQNO4 IS NULL and :P12_DFCY_CATG_C = '5' THEN
INSERT INTO DFCY_CATG(DFCY_SEQNO, DFCY_CATG_C, JOINT_SERVICE, POLICY_DOCTRN_NARR)
VALUES(:P12_DFCY_SEQNO, :P12_DFCY_CATG_C, :P12_JOINT_SERVICE, :P12_POLICY_DOCTRN_NARR);
ELSE
UPDATE DFCY_CATG
SET JOINT_SERVICE = :P12_JOINT_SERVICE,
POLICY_DOCTRN_NARR = :P12_POLICY_DOCTRN_NARR
WHERE DFCY_SEQNO = :P12_DFCY_SEQNO;
END IF;
Thanks for the help,
Mary
Edited by: MaryC on Feb 9, 2010 3:09 PM

Mary:
Check the sesion state browser and verify that the page-items referenced in the 'INSERT/UPDATE DFCY_CATG_TRNG---' block you the page-process code have the expected values.
varad

Similar Messages

  • Insert , Update & Delete Not working in BDB Berkley Database

    Hi,
    Anybody has used Oracle ADF & BDB ,to insert/ update & delete?
    imported db.jar,dbexample.jar,sqlite.jar ,derby.jar. still not working (Only Query working)
    Pls lets us know

    Hi,
    Do you have a small test case program that demonstrates this? A JDeveloper project showing what exactly is the problem when trying to use the BDB SQL JDBC driver to insert data into the BDB SQL database? What do you mean by "not working", do you get any errors, you do not get errors but you do not see the data in the database etc?
    What are the versions of Java, JDeveloper, ADF and BDB SQL you are using, and on what OS?
    Regards,
    Andrei

  • Multi-Row insert/update/delete not working via db-link

    App. Version: 2.0.0.00.49
    DB: Oracle 9i, not sure about the build
    Problem: Multirow Update/Insert/Delete doesn't work via db-link.
    Error received: ....ORA-1460: unimplemented or unreasonable conversion requested....
    Where: Tabular Form generated via Wizard
    Side note: It's working properly when local table(s) is/are used, it's not working via db-link or view.
    I've encountered this error with single update/insert/delete operations before, but was able to fix it via using temp-variables (v_xyz := :Px_xyz; as the proposed v('Px_xyz') was really slow with my scripts)...but with the automated DML-action I don't see a way to edit it accordingly.
    Workaround found:
    1a) Use local* collection on HTML-DB-Server, then write single row updates/deletes/inserts to the remote DB via DB-Link
    1b) Use local* table on HTML-DB-Server, then write single row updates/deletes/inserts to the remote DB via DB-Link
    * Local = on the same server that HTML-DB is running on...
    So,...to my questions:
    1. Can someone confirm that this is a "known feature" (aka bug)?
    2. Can someone tell me if this "known feature" has been eliminated in the newer version of HTML-DB/APEX (> 2.0.0.00.49)?
    Thanks.
    Ingo

    Hi,
    Do you have a small test case program that demonstrates this? A JDeveloper project showing what exactly is the problem when trying to use the BDB SQL JDBC driver to insert data into the BDB SQL database? What do you mean by "not working", do you get any errors, you do not get errors but you do not see the data in the database etc?
    What are the versions of Java, JDeveloper, ADF and BDB SQL you are using, and on what OS?
    Regards,
    Andrei

  • Insert,update, del not working while assigned to users through role

    Dears,
    I created a role ABC
    Assigned select insert update and delete privileges to role ABC on a table MY_SEC_TABLE
    Later I assigned this role to a user TEST
    Connected to database with this user TEST
    and
    Try to edit any row in table MY_SEC_TABLE but receive ORA-01031: insufficient privileges
    Edited by: FarhatKayani on Mar 17, 2013 11:03 PM

    Hi,
    OK,
    Try to edit any row in table MY_SEC_TABLE but receive ORA-01031: insufficient privilegesCould you select MY_SEC_TABLE by this user??
    Regards,

  • Insert statement will not work if select statement has less number of colum

    Hi,
    One of my thread is already resolved on the following URL : unable to insert rows into the table
    DROP TABLE TEMP;
    CREATE TABLE TEMP AS SELECT * FROM CASE_101 WHERE 1=2;
    DECLARE
    S VARCHAR2(200);
    STMT VARCHAR2(500);
    begin
    for C in (select TABLE_NAME INTO S from USER_TABLES where TABLE_NAME like 'CASE%' TABLE_NAME NOT like '%OLD' and Num_ROWS > 0 order by TABLE_NAME) loop
    STMT := 'INSERT INTO TEMP SELECT * FROM ';
    STMT:=STMT || C.TABLE_NAME;
    EXECUTE IMMEDIATE STMT;
    dbms_output.put_line(c.table_name);
    end loop;
    end;
    i am facing now some different; almost all the tables have same number of columns except in few of tables have some additional columns. As above i am creating a table "TEMP" who has highest column temp(by doing some manual process). The table who has less columns than "TEMP" table : Insert statement will not work. 'INSERT INTO TEMP SELECT * FROM less_columns_table_name'.
    Please let me know , how can i execute proper way.
    Thanks.
    Best Regards
    Arshad

    user13360241 wrote:
    Hi,
    One of my thread is already resolved on the following URL : unable to insert rows into the table
    DROP TABLE TEMP;
    CREATE TABLE TEMP AS SELECT * FROM CASE_101 WHERE 1=2;
    DECLARE
    S VARCHAR2(200);
    STMT VARCHAR2(500);
    begin
    for C in (select TABLE_NAME INTO S from USER_TABLES where TABLE_NAME like 'CASE%' TABLE_NAME NOT like '%OLD' and Num_ROWS > 0 order by TABLE_NAME) loop
    STMT := 'INSERT INTO TEMP SELECT * FROM ';
    STMT:=STMT || C.TABLE_NAME;
    EXECUTE IMMEDIATE STMT;
    dbms_output.put_line(c.table_name);
    end loop;
    end;
    i am facing now some different; almost all the tables have same number of columns except in few of tables have some additional columns. As above i am creating a table "TEMP" who has highest column temp(by doing some manual process). The table who has less columns than "TEMP" table : Insert statement will not work. 'INSERT INTO TEMP SELECT * FROM less_columns_table_name'.
    Please let me know , how can i execute proper way.
    Thanks.
    Best Regards
    Arshadmore often than not "TEMP" tables are NOT required & are highly inefficient in Oracle.
    Either only specify explicit column in TEMP to get data,
    or provide value for "extra" column in TEMP

  • Insert statement is not working for z table.

    Hi experts,
    My insert statement is not working.
    I have used follwing code to update z table .
    INSERT ztable FROM TABLE gt_table.
    here i have checked gt_table and its filled up with all the records properly.
    now the problem is in this table i have 15 fields and it inserts 14  fields of it but
    the last field is never inserted though in gt_table i can see value for last fields also.
    I have added this field in ztable recently . so i also used se14 to adjust table but still i am facing same problem.
    please help me out.
    thanks,
    Neo

    > > Table maintainance will have nothing to do with
    > this
    > > issue.
    >
    > It does sometimes when you are trying to see the
    > values from SM30 instead of SE16. The value may be
    > there, but it may just not seen in SM30 because the
    > table maintenance hasn't registered the addition of
    > new field.
    >
    > Another place to look at is the activation log to see
    > if there are any warnings issued there.
    You shouldn't use SM30 to view table entries. You use this transaction to maintain the table entries. Pure and Simple.

  • Windows update does not work after using System recovery disk

    I have a Toshiba Satellite c655 with WIndows 7 64 bit Home premium. The hard drive died on it, so I purchased a new hard drive and purchased the appropriate Recovery media from Toshiba. I followed the directions and installed the 3 disks on to the new hard drive. But Windows update does not work I get the following error: Windows update can not currently check for updates, because the service is not running. You may need to restart your PC    No matter what I try, I can not get it to work. And it will not let me install Windows Defender either. Any ideas or help would be appreciated. Thank you in advance for your time on this matter.
    Solved!
    Go to Solution.

    I get errors saying A problem is preventing the troubleshooter from starting.
    That makes two similarities to the following thread. Both Windows Update and Troubleshooters fail to work correctly.
       Trouble with reinstall of Win7 64 on a L505-ES5018
    The fix was to install a new hard disk driver.
       Intel Rapid Storage Technology
    -Jerry

  • Phone not working after OS update, phone not working after OS update

    phone not working after OS update, phone not working after OS update

    I do have a questiion.  I started the most recent iOS update on my iPhone last night and before it was ever completed a message appeared on my screen.  It is a pic of the docking/charging cord with an arrow pointing to an iTunes logo...HELP!!!!!  I have tried holding down the home key and power button several times and the same message continues to appear. 

  • Safari is not working on the Mac. Internet is fine, mail, App Store etc all working and connecting to Internet fine. Done the latest software update, still not working. When selecting a web address from bookmarks or typing in search bar, partial blue bar.

    Safari is not working on the Mac. Internet is fine. mail, App Store etc all working and connecting to Internet fine. Done the latest software update, still not working. When selecting a web address from bookmarks or typing in search bar, partial blue bar only and coloured wheel appears.

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the malfunctioning extension by uninstalling and reinstalling it. That will revert its settings to the defaults.
    If extensions aren't causing the problem, see below.
    Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found

  • WSUS "Self-update is not working" after new certificate

    After creating a new self-signed certificate in SBS 2008 wizard we get the following error:
    Text: Self-update is not working
    Source: Windows Server Update Service
    Event id: 13042
    I know that it must be something simple. But I can not find the solution.
    Can anyone help me with this problem?
    Thanks

    Hi,
    Based on your description and this error message, this issue may be caused by:
    The Default Web Site is not running and/or has a site binding for SSL (HTTPS).
    The Selfupdate virtual directory has the "Require SSL" checked under the SSL settings.
    For more details, please refer to the following KB and check if can help you to solve this issue.
    WSUS 3.0 Self-update is not working on Windows Small Business
    Server and Event ID 13042 is generated
    If anything I misunderstand or any update, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • I DON'T WANT TO UPGRADE OR HAVE AN ADD ON EVER, DISABLING UPDATES DOES NOT WORK, HOW DO I KILL ALL MEASAGES FOR UP GRADES AND ADD ON'S FOR EVER, ONCE AND FOR ALL, COMPLETELY, THE END AND NEVER BE BOTHERED AGAIN EVER!

    I DON'T WANT TO UPGRADE OR HAVE AN ADD ON EVER, DISABLING UPDATES DOES NOT WORK, HOW DO I KILL ALL MESSAGES FOR UP GRADES AND ADD ON'S FOR EVER, ONCE AND FOR ALL, COMPLETELY, THE END AND NEVER BE BOTHERED AGAIN EVER! ALSO IF I KILL MYSELF I WILL HOLD YOU PERSONALTY RESPONSIBLE.edit

    There is a world of information in these forums if you use the search function near the top right of this page. Just type in NAS for example and you get many threads on the subject (marked with a green checkmark if it solved the question) another example would be Airport Exterme and sound system. Once you formulate your ideas better then specific questions can be addressed one at a time. You may find that a less expensive choice for a server might be a mac mini. Good luck with your project, ask more specific questions and update you systems profile.

  • Ms updates does not work after recovery win 7 pro on dv4-2167sb

    info on problems with MS updates right after a new install of win 7 pro: does not install updates and will not install SP1 from down load . I used recovery disks I made. The OS [win 7 pro] recovered great but MS updates did not work from  the get-go..  {Personal Information Removed} HP NEEDS TO GET ME OS RECOVERY THAT WORKER I HAVE 4 OF THIS DV4-2167SB 'S
    Been on the phone with hp [not US] for more than hr.  talked to two svr. hungup on 3 times,  HP needs some New VP's.

    Hi VP_IA_DOT,
    I saw your post and forwarded it to the right people for their review. You should hear back from someone shortly via private message on this Forum.
    Thanks,
    NicNac - HP Support Forums Moderator
    Clicking the "Kudos star" to the left is a great way to say thanks!
    When your problem has been solved, accept the solution by clicking the "Accept as Solution" button to help other members in the future!
    Rules of Participation

  • My auto updates are not working. I cannot find where to download Camera Raw 8.1 for Photoshop CS6.

    My auto updates are not working! I cannot find where to download Camera Raw 8.1 for Photoshop CS6 (Windows 8 64 bit). My Camera Raw is now at 7.1. I had the online Adobe folks tell me to just download all updates manually. That's great, yet I cannot find camera raw 8.1 to download...
    Please help.
    Thanks, Janet

    there's a direct download link on this page: https://blogs.adobe.com/lightroomjournal/2013/06/camera-raw-8-1-and-dng-converter-8-1-now- available.html

  • Update will not work, I get an error message that says error 7 (windows error 126

    The new update will not work for me, I am running Windows Vista. I have never had any problems installing updates before, but this time I get a message
    So I found the directions to uninstall itunes, I uninstalled itunes, apple software update, then I am unable to uninstall apple mobile device support. Since it says to uninstall them in order, I didn't go any futher. I did restart and got this message
    I tried redownloading and reinstalling but I am back to where I started from, can someone HELP?
    Thanks

    This is asked and answered dozens of time each day.  A forum search (right side of this page)  will find answers to many questions like this quickly.
    Disable your firewall/security software and try again.

  • Java 7 Update 11 Not Working with Firefox

    For me, the problems described in the thread "Java 7 Update 10 Not Working with Firefox? " Java 7 Update 10 Not Working with Firefox?
    are continuing with Java 7 Update 11.
    Windows 7 64 bit
    Firefox 18
    The problem is that "Java(TM) Platform" is missing from the plug-in list.
    I've uninstalled Java 7 Update 11 and reinstalled Java Update 9 which correctly installs the plugin and restores Java functionality which was broken immediately upon installing both Java 10 & 11.

    981243 wrote:
    So why not using Ju11 ? You can workaround the issue. It would sucks but still be safer than using Ju9.
    Also ask Mozilla forums if Firefox has options where to search for plugins.
    Or try 64-bit Firefox.As I explained in both threads ...
    Java 7 Update 10 Not Working with Firefox?
    Java 7 Update 11 Not Working with Firefox
    ... neither jre7u10 nor jre7u11 are working ... and they are BOTH broken with the same problem ... "Java(TM) Platform" pliugin is missing from the plug-in list. It cannot be enabled, because it simply is NOT there. A suggestion was made the jre7u12 will be the "fix" for this issue ... so I installed the Update 12 Preview and it sis ALSO broken, no "Java(TM) Platform" in the plug-in list.
    The ONLY Java version that actually works for me is jre7u9.
    As far as installing Firefox 64bit ... I see no future in installing a browser that has been discontinued.
    http://www.computerworld.com/s/article/9233976/Mozilla_suspends_work_on_64_bit_Firefox_for_Windows
    Even though Mozilla relented due to backlash, I continued development will be a somewhat low priority.
    http://www.computerworld.com/s/article/9234997/Mozilla_compromises_on_x64_Firefox_after_user_backlash

Maybe you are looking for

  • Currency translation error

    I have created a currency translation key for Exchange rate type M and the key is based on time characteristic 0CALMONTH. It is working almost fine but is failing in the below two mentioned places: 1. The values for all the months are being shown cor

  • A way around F keys

    I am creating a simulation of a DOS system that still uses F keys to aid in system navigation. The simulations work fine within Captivate, but do not work well in internet explorer or firefox. I have tried the htm and the swf files. When the user has

  • How to derive a tree like output in Report?

    Hi, I have a report which should produce output like a tree which takes the data from a single table? If anybody having idea in this regard please post me. Thanks, henschel

  • GSS-Concept Misunderstanding

    GSS is used to load balancing/redundancy method that can be used if you have two different sites and two public ip blocks.  However, I'm not quite understanding how GSS accomplishes this based on a couple of issues. Even with GSS, arent we still rely

  • WLC 5508 - WebAuth Bundle tar error 256

    Hi all, I have a new fresh 5508 release 7.0.98.0 When I try to download (I mean upload to the controller) a customized Webauth bundle in .tar format I have the following message error in the syslog : *TransferTask: Oct 29 12:56:08.894: %UPDATE-3-UNTA