Re: where to put a procedure so all forms can get it

From: Alan Mills <Alan.Mills_at_nospamservices.fujitsu.com>
Date: Tue, 22 Oct 2002 15:40:10 +0100
Message-ID: <ap3o0c$30rs$1_at_news.icl.se>


Place the procedure in a forms library and attach it to every form that wants to use it. Better still, place in a package in the library to seperat out the 'type' of functionality from other general code you might produce.

"Timbo" <tjbacs_nospam_at_attbi.com> wrote in message news:3DB551D2.10001_at_attbi.com...
> I created a procedure (using hints from a book) that allows the forms
> window to be closed by clicking on the "X" box in the upper right
> corner to follow windows conventions. The book didn't indicate where
> to build or place this procedure, so I put it under the "Program Units"
> section in Object Navigator. It works and I can use it with a trigger
> in the form.
>
> My questions are:
>
> Is this the best/proper place to put a procedure?
>
> Where would I put something so all forms could access it?
>
> Based on answer(s) to above, how would I access it from other forms?
>
> Using forms developer 9i. Developing on pc running OC4J, but
> the app will eventually run on 9iAS R2
>
> The book, by the way, is "Oracle Developer Forms Techniques" by
> Bulusu Lakshman, which has a lot of how-to stuff, but assumes the
> reader already knows forms, which I don't. Not the best book for a
> novice I have discovered!
>
> Thanks,
>
> Tim
>
Received on Tue Oct 22 2002 - 16:40:10 CEST

Original text of this message