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

access other_params within forms 9i

Status
Not open for further replies.

hudo

Programmer
Dec 4, 2003
94
DE
Hello,

I'd like to determine the output directory when using the Forms TEXT_IO utility
in the formsweb.cfg (of the OAS) as other_params.
This would facilitate maintenance and it is more flexible.

But I do not know how to access this parameter within Forms 9i.
 
Hi lewisp,

I wrote in formsweb.cfg:

[my_section]

otherparams=myparam1=%alpha% myparam2=%beta%

Then in the Form WHEN-NEW-FORM-INSTANCE Trigger:

DECLARE

outdir VARCHAR2(100);

BEGIN

TOOL_ENV.GETVAR('myparam1', outdir);

:GLOBAL.export_dir := 'd:/oas/Apache/Apache/htdocs/'||outdir||'/';


END;

the URL looks like

But I get the Error: FRM-47023:
Form MYPARAM1 does not contain a parameter named MYFORM

What is wrong here ??
Can you please help me ?

I tried it also with the URL:

although I would like to have the information (alpha) only in the formsweb.cfg

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top