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 -> Re: Please Help: Calling Stored Procedures

Re: Please Help: Calling Stored Procedures

From: Scott Kronheim <skronheim_at_synertechsystems.com>
Date: Wed, 15 Dec 1999 13:12:07 -0500
Message-ID: <3857D9F7.FA08B128@synertechsystems.com>


See the online help for the FORMS_DDL builtin. It can be used to generate a simple flavor of dynamic SQL, which is all you need. The help text contains an example which calls a procedure name that is stored in a variable name.

If you need to call procedures or functions that return values back to Forms, I don't think this technique will work for you, unless I'm missing something. It will work well if all you need to do is call one of several different procedures.

watsonr4_at_my-deja.com wrote:
>
> Hello,
> I posted here a few weeks ago, but never got a response, so I thought
> I'd try again.
>
> I'm using Oracle Forms 4.5 and I need to call various stored procedures
> in the Oracle database. However, I cannot hard code the stored
> procedure names in the form (I could, but this way would make things
> MUCH simplier). I can set a variable equal to the package.procedure I
> need to call, but cannot figure out how to call it using only a
> variable name. Here is how I'm setting the variable:
>
> command :=
> check_rec.package||'.'||check_rec.proc||'(:range.start_login,:range.end_
> login)';
>
> Is it possible to call a stored procedure in Oracle Forms using a
> variable name???
>
> Thanks,
> Ron Watson
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Wed Dec 15 1999 - 12:12:07 CST

Original text of this message

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