Re : Data Parameter [message #86892] |
Wed, 17 November 2004 21:35 |
jhsharma
Messages: 58 Registered: June 2004
|
Member |
|
|
hi Guru's
I want to pass data parameter from one form to other.
where (record group) do I need to make the changes in the calling & called form. I have got concept of text parameter only. I want to use the data parameter only.
regards
JHS
|
|
|
Re: Re : Data Parameter [message #86916 is a reply to message #86892] |
Fri, 19 November 2004 18:48 |
S. Sathish Kumar
Messages: 11 Registered: October 2004
|
Junior Member |
|
|
You try this one
pl_id paramlist;
pl_id := create_parameter_list('callform');
add_parameter(pl_id,'YOUR_PARAMETER_NAME',DATA_PARAMETER,'YOUR_PARAMETER_VALUE');
CALL RUN_PRODUCT WITH NECESSARY PARAMETERS
destroy_parameter_list(L_C_param_plid);
|
|
|
Re: Re : Data Parameter [message #86920 is a reply to message #86916] |
Sat, 20 November 2004 00:11 |
jhsharma
Messages: 58 Registered: June 2004
|
Member |
|
|
Dear Mr. Sathish
I know this syntax but i am presently using the text parameter but now i want to know how to define & use the data parameters.
ADD_PARAMETER examples
/*
** Built-in: ADD_PARAMETER
** Example: Add a value parameter to an existing Parameter
** List 'TEMPDATA', then add a data parameter to
** the list to associate named query 'DEPT_QUERY'
** with record group 'DEPT_RECORDGROUP'.
*/
DECLARE
pl_id ParamList;
BEGIN
pl_id := Get_Parameter_List('tempdata');
IF NOT Id_Null(pl_id) THEN
Add_Parameter(pl_id,'number_of_copies',TEXT_PARAMETER,'19');
Add_Parameter(pl_id, 'dept_query', DATA_PARAMETER,
'dept_recordgroup');
END IF;
END;
my questios is this where & how do i define the dept_query,dept_recordgroup etc.
regards
jhs
|
|
|