I want to make one function call for each room situation but
I cannot pass the owa_util.ident_arr correctly. Please help!
v_brookdale_4PersonRoom varchar2(14);
brookdale_4PersonRoom_b owa_util.ident_arr; -- each (i) holds one char and total 14 items
brookdale_4PersonRoom owa_util_ident_arr; -- assemble 14 items into one string.
for example, at the b1 case, if there are 28 brookdale_4PersonRoom_bs
brookdale_4PersonRoom_b(1) := 'a';
brookdale_4PersonRoom_b(2) := 'b';
brookdale_4PersonRoom_b(3) := 'd';
.
.
.
brookdale_4PersonRoom_b(14) := 'r';
*
brookdale_4PersonRoom_b(15) := 'j';
brookdale_4PersonRoom_b(16) := 'k';
brookdale_4PersonRoom_b(17) := 'l';
.
.
.
brookdale_4PersonRoom_b(28) := 'n';
then brookdale_4PersonRoom(1) := 'abd...r'
brookdale_4PersonRoom(2) := 'jkl...n'
total 5 rooms codes and each room name's as below: example brookdale_4Personroom
brookdale_4PersonRoom_b is the value that passed from type=' text'
begin
not quite sure what's the problem you meant
but i guess, you want a use a array object and need to pass the array object as a parameters.
if so, i just suggest to read the docs for array first then see if you really want to use array.
for i myself would like to use ref cursor instead, that would make sense to pass a meaningful parameters to functions