Insert/update stmt does not

Hello



I created an region that hides and shows the javascript-based. I had to add a new field in this region and now it will not write to the database, it displays correctly on the form. I copied the field to another field and renames to p12_joint_service_trng. The field is a button that uses a LOV
It will not write the p12_joint_service_trng to the database and I don't get to her syntax errors. The code works fine.

The process of the page below:

INSERT/UPDATE IN 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);
ON THE OTHER

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;
--------------------------------------------------------------------------------------------
-DFCY_CATG_TRNG INSERT/UPDATE.
INSERT/UPDATE IN 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);
ON THE OTHER
UPDATE DFCY_CATG
SET JOINT_SERVICE =: P12_JOINT_SERVICE_TRNG
WHERE DFCY_SEQNO =: P12_DFCY_SEQNO;
END IF;

--------------------------------------------------------------------------------------------
-DFCY_CATG_TABLE_POLICY INSERT/UPDATE.

IF: P12_DFCY_SEQNO4 IS NULL and: P12_DFCY_CATG_C = '5' THEN
INSERT INTO DFCY_CATG (DFCY_CATG_C, JOINT_SERVICE, DFCY_SEQNO, POLICY_DOCTRN_NARR)
VALUES (: P12_DFCY_SEQNO,: P12_DFCY_CATG_C,: P12_JOINT_SERVICE,: P12_POLICY_DOCTRN_NARR);
ON THE OTHER
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

Published by: Lucky on February 9, 2010 15:09

Mary:

Check the sesion State browser and verify that the referenced page objects in the "INSERT/UPDATE DFCY_CATG_TRNG-' you are blocking the page-process code have expected values."

CITY

Tags: Database

Similar Questions

Maybe you are looking for

  • Black screen when shut down or reboot Satellite A300 - 15 M

    Hey,. When I stop or restart the laptop, I get a black screen and in the middle that it says blue enter password... Keep in mind that it is before you reach the vista page

  • Acquisition of time between peaks (noisy signal)

    Hello Experts, I'm new to labview and I worked on a VI on the acquisition of the duration between 2 peaks (real time). The source of the signal is human ECG/EKG (cardiac signal - PQRS). He has a huge spike and other smaller in each beat in torque, an

  • Look at an Iplayer on TV via laptop

    I've been able to use the laptop to watch TV through the TV using an HDMI cable.  For some reason any it has stopped working.  I clicked on the monitors to activate 2 in the control panel and reset the screen resolution.  Any ideas anyone?  Just get

  • Cookie issue

    With the help of W7, IE11. Recently could not enter the only one of my forums, although another poster in this forum confirms site is OK. Al other forums OK. For this I get the message re cookie problem. Been in tools > Internet Options > privacy > S

  • Several Interfaces of VPN - Pix 6.3 (5)

    Hi all I'm trying to establish a secondary VPN interface off our PIX for reasons of split tunneling. Unfortunately, I can't upgrade to 7.0 + to provide the functionality of routing same interface. I want to keep our card crypto in place current produ