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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

database package variable and formsbuilder 1

Status
Not open for further replies.

mike778

Programmer
Jul 30, 2003
12
SE
I want to write and read with formsbuilder a database variable,
i tried it like this:

pa_preval.tbl_proz2csv(1):='he';

where pa_preval is the name of the package and tbl_proz2csv the table declared in the package.
it works well with sql plus, but not in a formsbuilder trigger :-(.

any ideas?
thanks a lot

Michael
 
It'sa know Forms limitation. You may create dummy setter/getter procedure and call it instead:

create or replace procedure set_pa_preval_tbl_proz2csv(p in ..., i in integer )
is
begin
pa_preval.tbl_proz2csv(i) := p;
end;

create or replace function get_pa_preval_tbl_proz2csv(i in integer )
return ...
is
begin
return pa_preval.tbl_proz2csv(i);
end;


---
set_pa_preval_tbl_proz2csv('he', 1);



Regards, Dima
 
Oh, thank you!

And Execute Immediate also doesnt work with formsbuilder?

greetings, mike
 
Yes, because Forms uses its own client-side pl/sql engine.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top