Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Form parameters and owa_util.ident_arr array

Form parameters and owa_util.ident_arr array

From: Rami Huhtala <ramirez134_at_hotmail.com>
Date: 19 Nov 2001 06:50:05 -0800
Message-ID: <ac1562ed.0111190650.5ec8f5a@posting.google.com>


Hie

I have script add_name which calls script add_name.

CREATE OR REPLACE procedure add_name
(

  add             varchar2 := NULL,
  rname           varchar2 := NULL,

  rvalue in owa_util.ident_arr
)
AS
BEGIN
  htp.htmlOpen;
  htp.headOpen;
  htp.title('Software');
  htp.headClose;
  htp.bodyopen;

  htp.formOpen('add_name');  

  htp.print('<input type="text" name="rname"');
  htp.print('<input type="checkbox" name="rvalue" value="cat">');
  htp.print('<input type="checkbox" name="rvalue" value="dog">');
  htp.print('<input type="checkbox" name="rvalue" value="horse">');
  
  htp.formSubmit('add','add');

  htp.formReset;
  htp.formClose;

IF add IS NOT NULL THEN
 htp.print('You have chosen these items');  htp.print(''||rname);
 for i in 1 .. rvalue.count loop
 htp.p( '' || rvalue(i) );
 htp.br;
 end loop;
END IF;
END;

.........................

It works ok but how can I set "rvalue in owa_util.ident_arr" to NULL because it is empty when I come first time to this script and I get error message.

I hope you understand what I mean

Rami Huhtala Received on Mon Nov 19 2001 - 08:50:05 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US