add lexical and Bind variable to RUN_PRODUCT [message #82840] |
Tue, 08 July 2003 14:17 |
Mutindan
Messages: 5 Registered: July 2003
|
Junior Member |
|
|
Hi all,
I have the following RUN_PRODUCT function
DECLARE
pl_id ParamList;
BEGIN
pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id,'CATEGORY',TEXT_PARAMETER,(:CATEGORY));
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
Add_Parameter(pl_id, 'DESTYPE', TEXT_PARAMETER, 'Screen');
Run_Product(REPORTS, 'C:Pled', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
Destroy_Parameter_List( pl_id );
END;
How can I define both Lexical and Bind variable within it. I have tried to
method shown below for bind variable (:CATEGORY)but it gives me "bad bind
variable error"
Thanks all!!
|
|
|
|
|
|
Re: add lexical and Bind variable to RUN_PRODUCT [message #82894 is a reply to message #82853] |
Tue, 15 July 2003 03:55 |
rama krishna
Messages: 97 Registered: December 2001
|
Member |
|
|
the :category u r specifying shd be on form
the second parameter is name of bind parameter present in report and the 4th parameter is the value u need to assign to the bind parameter in report..if category field is not present on form it will give u an error, so mention a value which u want to assign to category in report instead of :category
cheers
ram
|
|
|