Link to home
Start Free TrialLog in
Avatar of pelyo
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
Avatar of ramsdesk
ramsdesk

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.
Avatar of pelyo

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.
ASKER CERTIFIED SOLUTION
Avatar of ramsdesk
ramsdesk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial