(unknown charset) Re: alternative to hard coding a directory location?

From: (unknown charset) NinjaToy <LCIYQBBEQVFA_at_spammotel.com>
Date: Tue, 26 Nov 2002 18:13:28 +0000
Message-ID: <3DE3B9C7.5DC1710E_at_spammotel.com>


IMHO
better to softcode a directory path via the database. ie. CALL_FORM(global_forms_dir || <form_name>);

-better portability
-easier to manage the forms60_path on a multi app system
-faster

Using the forms60_path for common libraries, templates and inheritance forms only.

Elias Asfaw-Kirby wrote:

> We do the same type of thing:
> Open_form('filename');
>
> In windows environment set:
>   FORMS60_PATH=C:\MyForms
> or what your path is.
>
> If you call a report from forms there is a REPORTS60_PATH also
>
> Elias Asfaw-Kirby
> elias at icpsr dot umich - edu
>
> --
> ---
> "Sybrand Bakker" <postbus_at_sybrandb.demon.nl> wrote in message
> news:a20d28ee.0211060057.2d5ce2f9_at_posting.google.com...
> > mburns_at_sjm.com (Mark Burns) wrote in message
> news:<549bf180.0211050943.22a96c3d_at_posting.google.com>...
> > > I am trying to help out a coworker who is using a hard coded location
> > > to open another form with a trigger on button. She is currently using
> > > this format to call the file
> > > OPEN_FORM('W:\xxx\yyy\filename');
> > >
> > > and I would like to change this to something like
> > >
> > > OPEN_FORM($Home'filename');
> > >
> > > So that trigger calls the file that is in the same directory as the
> > > menu file that is calling it. This will help us to use source control
> > > a little more efficently.
> > >
> > > thanks
> > > Mark Burns
> >
> >
> > Using '%<ENV VAR>%/filename' should do the trick.
> >
> > Hth
> >
> > Sybrand Bakker
> > Senior Oracle DBA

--
Suzuki SV650S - plop.  Gone.
Kwak ZX-6R J2 - hear the roar
Subaru Impreza Turbo - geezermobile. Gone.
Mini Cooper - vorsprung
Marin East Peak FS - boiing
 
Received on Tue Nov 26 2002 - 19:13:28 CET

Original text of this message