Re: Forms 3.0 and packaged procedures

From: David Broomfield <dave_at_pdinsure.co.uk>
Date: 1995/11/21
Message-ID: <b157cb$de8.367_at_pdinsure.co.uk>#1/1


In article <48pu11$t67_at_news.corpcomm.net>, kasten_at_brookings.net says...
>
>dave_at_pdinsure.co.uk (David Broomfield) wrote:
>
>> We are currently running Oracle 7.1.6.2.0 and Forms 3.0.16 on a
 Sequent.  

>> We have developed a number of database packages that are called from
>> various forms, and we have an intermittent problem where forms fail
>> to find the packages when they are being generated. The packages can
>> be both seen and executed from SQL*Plus, and executed (but not
 compiled)
>> from SQL*Forms.
 

>> The problem seems to sort itself out after a few minutes and all is
 well
>> again. Occasionally, an "ALTER SYSTEM FLUSH SHARED_POOL" command
 seems
>> to get things moving.
 

>> We suspect that this is a problem in the version of PL/SQL that is
>> bundled into Forms, but Oracle support don't seem to have many ideas
 on
>> what's going on.
 

>> Has anyone else come across this one?
>
>Sorry, this isn't an answer. I do have a question tho. Are you
>really able to (when all things work) call stored procedures
>from forms 3.0? I was under the impression that was just
>not possible. If indeed you are would you be willing to
>enlighten me as to how you accomplish this?
>
>Thanks,
>
>
>
>
>
>

The version of forms that we are using is 3.0.16.12.9. To call a packaged procedure/function you use the same syntax as you would from a normal PL/SQL block i.e.

BEGIN
    package_name.procedure_name(.....);
END;
Oracle have bodged the version of PL/SQL that is bundled into forms (which is based on PL/SQL V1) to allow this to work. Up to a point it does, but there are these annoying tendencies to refuse to compile the form from time to time. Received on Tue Nov 21 1995 - 00:00:00 CET

Original text of this message