pelyo
asked on
Forms 6i. Block Based on procedure. Parameter passing
Can anyone tell me how to pass a block items' value into a procedure the block is based on.
I've tried putting the item name in the arguments properties but it appears to pass null. If I replace this with a hard value of say 99 it passes this fine.
The block is based on the procedure that looks like this.
It returns a ref cursor and this works fine without the in parameter.
PROCEDURE p_query_payees (pv_where_clause IN VARCHAR2,
prc_payees_rows IN OUT grefcur_payees);
blah blah.
Thanks
I've tried putting the item name in the arguments properties but it appears to pass null. If I replace this with a hard value of say 99 it passes this fine.
The block is based on the procedure that looks like this.
It returns a ref cursor and this works fine without the in parameter.
PROCEDURE p_query_payees (pv_where_clause IN VARCHAR2,
prc_payees_rows IN OUT grefcur_payees);
blah blah.
Thanks
Mirror the value of the field to an item in another block (say Control block) and try to use this field (:control_block.field_name ) in the procedure.
ASKER
Tried this and form hung.
set the value in 'query data source arguments' to the control block item. Dump message was Last Builtin: EXECUTE_QUERY - (Successfully Completed), but the procedure was never executed. Tried several times and had to kill most sessions.
set the value in 'query data source arguments' to the control block item. Dump message was Last Builtin: EXECUTE_QUERY - (Successfully Completed), but the procedure was never executed. Tried several times and had to kill most sessions.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.