Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Packages, Scope
staylor_at_petrolsoft.com wrote:
> in my Oracle Webserver book. Here's the code (basically):
>
> PROCEDURE myproc
> IS
> BEGIN
> htp.tableOpen;
> htp.RowOpen;
> htp.TableData( OWA_UTIL.CHOOSE_DATE('date'));
> htp.RowClose;
> htp.TableClose;
> END;
>
> I then tried copying the CHOOSE_DATE procedure into my package as a local
> procedure, and call it that way. However, I got the same error.
>
> Any Ideas?
I'm not into OW, but you are saying CHOOSE_DATE is a procedure, and you are getting complaints about CHOOSE_DATE not being a function. So maybe what you want to do is rewrite CHOOSE_DATE to be a function returning a date?
Njål
--
Njål Arild Ekern, ADB-seksjonen USIT
Postboks 1059 Blindern, 0316 OSLO
Tlf 22852477, fax 22852730
Received on Mon Aug 10 1998 - 21:03:47 CDT
![]() |
![]() |