I'm working on Oracle Forms Builder 10g. Inside my application, I have a Nested table type that holds a bunch of varchar2. it's type my_type_1 is table of varchar2(255). I have created the same type in my database.
Now, I'm creating a form based on a stored procedure. I want to pass a variable of my_type_1 in the body is like that:
procedure my_proc (my_var_in_out IN OUT some_type, my_var_test IN my_type_1) is
cursor my_cursor(id varchar2(255)) is
select name from emp where emp_id = id;
idx number := 1;
begin
for I in my_cursor(my_var_test ) loop <<< this is where I'm stuck. Can I pass it like that ?
my_var_in_out (idx) := I;
idx := idx +1;
end loop;
end;