Home » Developer & Programmer » Forms » Passing Parameter from Web Page to Form 6i (Form 6i using 9iAS)
icon13.gif  Passing Parameter from Web Page to Form 6i [message #436198] Tue, 22 December 2009 01:35 Go to next message
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? Embarassed

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
malik_bobby13@hotmail.com
Messages: 2
Registered: December 2009
Junior Member
I got the clue Laughing

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
Previous Topic: calculate the exact balance
Next Topic: Passing parameters from one form to another form
Goto Forum:
  


Current Time: Fri Sep 20 02:17:03 CDT 2024