Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with forms_ddl - capture the parameter

Status
Not open for further replies.

alexdbora

Programmer
Oct 25, 2004
25
0
0
RO
Hi

I have used the following when-button-pressed trigger in a form

DECLARE
procname char(10);
par1 varchar2(100);
BEGIN
procname:=:block1.name_proc;
par1:=:block1.acord;
forms_ddl('declare rezultat varchar2(200);'||'begin '||procname||'('||''''||par1||''''||',rezultat'||')'||';'||'end;');
:block1.prel_value:=rezultat;
END;
----
<procname> is a name of a procedure, which I get it from :block1.name_proc

I try to capture the out parameter named <rezultat> in a field of form :block1.prel_value , but I can't do that!
How can i display the value of rezultat in :block1.prel_value field of form?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top