Home » Developer & Programmer » Forms » Regarding Call_form using parameter list
Regarding Call_form using parameter list [message #85407] Wed, 23 June 2004 01:45 Go to next message
K.Sateeshkumar
Messages: 16
Registered: March 2004
Junior Member
Hi Experts,

My requirement is how to call a form using call_form built in procedure with parameter.This parameter value is a input to the called form.Based on this input value a excute_query to be executed in the called form.pl kindly help me.

Thanking You,
Regards
K.Sateeshkumar
Re: Regarding Call_form using parameter list [message #85409 is a reply to message #85407] Wed, 23 June 2004 02:53 Go to previous messageGo to next message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
Modify following code as per your requirment.

HTH
Himanshu

Declare
L_pl_id Paramlist;
L_pl_name VARCHAR2(10) := 'tempdata';
Begin
L_pl_id := Get_Parameter_List(L_pl_name);
If Id_Null(L_pl_id) THEN
Null;
Else
Destroy_Parameter_List(L_pl_id);
End If;
L_pl_id := Create_Parameter_List(L_pl_name);
Add_Parameter(L_pl_id,'P_SSN',TEXT_PARAMETER,'Y');
Call_Form('ALSU6080', HIDE, DO_REPLACE, NO_QUERY_ONLY,L_pl_id);
Check_Failure;
Exception
When Others Then
Message('Error....');
Raise Form_trigger_failure;
End;
Re: Regarding Call_form using parameter list [message #85439 is a reply to message #85407] Sat, 26 June 2004 02:51 Go to previous message
K.Sateeshkumar
Messages: 16
Registered: March 2004
Junior Member
hi himanshu,

Thanks a lot and could you explain your code regarding Check_failure and l_pl_name.

Regards
K.Sateeshkumar
Previous Topic: Correction - 9i database on 6.0 Forms
Next Topic: Progress bar in forms
Goto Forum:
  


Current Time: Tue May 07 06:49:35 CDT 2024