Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using FORMS_DDL to upadate another table

748145Nov 8 2010 — edited Nov 8 2010
Hi All,

I wants to update a record of a table using forms_ddl statement against a button from a form based on another table. I used the following code to do this but no update or no error
occered--

COMMIT_FORM;
IF :CASE_STATUS.WRIT_OFF=1 THEN
FORMS_DDL('UPDATE CASE_INFO SET WRIT_OFF=1 WHEN CASE_NO= '||:CASE_STATUS.CASE_NO);
ELSE
FORMS_DDL('UPDATE CASE_INFO SET WRIT_OFF=0 WHEN CASE_NO= '||:CASE_STATUS.CASE_NO);
END IF;
COMMIT_FORM;


What is the wrong with my code. Please help me to find out the issue. I am using forms 10g.

Arif
This post has been answered by SankarMN on Nov 8 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 6 2010
Added on Nov 8 2010
3 comments
1,132 views