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!

Error With Execute Immediate in Oracle Forms 10g

1015818Jan 13 2015 — edited Jan 28 2015

HI all,

               I am using Oracle Forms 10g. i have a remote database and i have created a database link to that db. Now i need to update some data in that database from my system using forms. For that i wrote a  statement like ,

execute immediate 'SELECT GLH_CODE_SEQ.NEXTVAL@WB INTO '||GLHCODE||' FROM DUAL';   (glh_code_seq is a sequence in remote db)

but its showing error like error 591: this feature is not supported in client side programs.

then i changed the statement to ,

forms_ddl('SELECT GLH_CODE_SEQ.NEXTVAL@WB INTO '||GLHCODE||' FROM DUAL');

Now that error is not popping but the variable is not receiving any value.

The same statement(forms_ddl) is working fine on sql*plus.

Someone pls  help me on whether i'm doing anything wrong or suggest whether anything to be done on this.

Thank You,

Sandeep

This post has been answered by Celal Özdemir on Jan 13 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2015
Added on Jan 13 2015
6 comments
2,194 views