Home » Developer & Programmer » Forms » frm-47012 Cannot add parameter PURORDERNO (Form 6i, Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production, Win srv 2003)
frm-47012 Cannot add parameter PURORDERNO [message #529580] Wed, 02 November 2011 01:11
hissam78
Messages: 193
Registered: August 2011
Location: PAKISTAN
Senior Member
I have defined the following code for executing the report from the form by clicking on button. we want to print the report whatever the Purchase_order_no, we have entered in the Form text item :purchase_order_master.Pur_order_no.
Report is showing the data but not the specific Purchase_order_no which we have entered in FOrm Text Item. it is showing the error also define below.
somebody can help me.

DECLARE 
  plid ParamList; 
BEGIN 
  plid := Get_Parameter_List('tmpdata'); 
  IF NOT Id_Null(plid) THEN 
    Destroy_Parameter_List( plid ); 
  END IF; 
  plid := Create_Parameter_List('tmpdata'); 
  Add_Parameter(plid,'PURORDERNO',DATA_PARAMETER,:purchase_order_master.Pur_order_no); 
  Add_Parameter(plid, 'PARAMFORM', TEXT_PARAMETER, 'NO');
  Run_Product(REPORTS, 'D:\NOVEMBER_2011\New_Sunrays_System\N_Purchase_Order.rdf', SYNCHRONOUS, RUNTIME, 
           FILESYSTEM, plid, NULL); 



<Error>
frm-47012 Cannot add parameter PURORDERNO to the paramenter list tmpdata : group 3 does not exist
<Error>

thanx

shafiq

[Updated on: Wed, 02 November 2011 12:50] by Moderator

Report message to a moderator

Previous Topic: find path in oracle
Next Topic: how to attach usb scanner with Oracle forms
Goto Forum:
  


Current Time: Sat Sep 07 12:58:22 CDT 2024