Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Path of forms
1st of all, these are semi-fixed environment settings. With semi-fixed, I mean that it is not changed while running, usually just when installing, or upgrading.
So, don't set them at runtime, but:
1st option: install them in one of the directories mentioned
2nd option: add your directory to the string
Frank
Scott wrote:
> The problem is I'm limited to setting these paths programmatically. I was
> aware of the existance of these environment variables, but as newbie, I'm
> unsure how to set them at runtime
>
> Thanks for your help.
>
> Connor McDonald wrote:
>
> > Scott wrote:
> > >
> > > G'day
> > >
> > > I have a global variable that stores the path of the location of all my
> > > forms.
> > >
> > > If I hardcode this into my forms, and the location of these files
> > > changes, I'm stuffed.
> > >
> > > Does anyone know a way to get the path of a directory at runtime.
> > >
> > > I can't figure out how to do it using host, or the get_environment
> > > function.
> > >
> > > Thanks.
> >
> > Don't use any paths at all, and then you can just use FORMSxx_PATH
> > environment variable and/or ORACLE_PATH to control where things are
> > found ...
> >
> > HTH
> > --
> > ===========================================
> > Connor McDonald
> > http://www.oracledba.co.uk (mirrored at
> > http://www.oradba.freeserve.co.uk)
> >
> > "Early to bed and early to rise,
> > makes a man healthy, wealthy and wise." - some dead guy
-- Gtrz, Frank van BortelReceived on Tue Oct 31 2000 - 12:30:12 CST
![]() |
![]() |