Passing Parameter from Web Page to Form 6i [message #436198] |
Tue, 22 December 2009 01:35 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
malik_bobby13@hotmail.com
Messages: 2 Registered: December 2009
|
Junior Member |
|
|
Dear All,
We are using 9i AS with Form 6i. I want to created a web page for user login and called my application By passing value
window.open(hrtest/dev60cgi/ifcgi60.exe?form=login_form.fmx&width=1000&height=700&
userid=logme/logme1@test","","width=1000,height=700,top=0,left=0,location=no,directories=no,
status=no,menubar=no,toolbar=no,maximize=yes,resizable=yes")
and it successfully run.
I want to pass additional parameter to my login_form.fmx from web page like User Shift entered by user on logon?
Please help me out.
Regards,
Khurram
|
|
|
Re: Passing Parameter from Web Page to Form 6i [message #436221 is a reply to message #436198] |
Tue, 22 December 2009 03:33 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
malik_bobby13@hotmail.com
Messages: 2 Registered: December 2009
|
Junior Member |
|
|
I got the clue
pass parameter in your UR
as
//hrtest/dev60cgi/ifcgi60.exe?form=LOGIN_FORM_Para.fmx&width=1000&height=700&userid=power/power1@hrtest&otherparams=PAKISTAN=ALLAH"
Define a :PARAMETER.PAKISTAN on Form
and write following trigger
BEGIN
if :PARAMETER.PAKISTAN = 'ALLAH' then
message('ALLAH HO AKBAR');
message('ALLAH HO AKBAR');
message(:PARAMETER.PAKISTAN||' HO AKBAR');
message(:PARAMETER.PAKISTAN||' HO AKBAR');
else
message('INSH'||:PARAMETER.PAKISTAN);
message('INSH'||:PARAMETER.PAKISTAN);
end if;
END;
Regards
______________________________________
Khurram Altaf | Assistant Manager ERP
Enterprise Resource Planning Department
Kohinoor Textiles Mills Ltd
Peshawar Road, Rawalpindi.
+92.51.5473940-44 ext 250 | +92.333.5256626
e-mail: khurram.altaf@kmlgpk.com | web: www.kmlg.com
|
|
|