Re: UNIX shell Environment Variables to Forms 3

From: Tommy Wareing <p0070621_at_brookes.ac.uk>
Date: Wed, 12 Oct 1994 17:16:21
Message-ID: <p0070621.19.00114646_at_brookes.ac.uk>


In article <37gkf4$9m8_at_rigel.infinet.com> efreeman_at_infinet.com (Edson Freeman) writes:
>Maria Paulo (mpaulo_at_metz.une.edu.au) wrote:
>: I thought this can be done quite easily but when I
>: dig into the SQL forms Designers Reference, I cannot
>: find a function that can be used to copy a UNIX environment
>: variable into a Forms 3.0 program.
 

>: Has anyone done this before and would you be kind to
>: share me how you did it?
 

>Actually, I'm having the same problem right now. I don't really want
>to hard code module names, path names, db instances, etc in my forms.
>Can anyone fill us in? Thanks in advance.

Either
1) use environment variables.

    This only works with things that interact with the operating system, most noticably pathnames (eg call_form('$FORMPATH/formname'). 2) Have a userexit to do it.

    This has the hassle of writing a userexit. Unless you can scrounge one from somewhere. I haven't got one to hand, I'm afraid.

  _________________________   _________________________
 /  Tommy Wareing          \ /                         \
|  p0070621_at_brookes.ac.uk   X   Oh No! More Amberites!  |
 \  0865-483389            / \       A. Lemming        /
  ~~~~~~~~~~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~
Received on Wed Oct 12 1994 - 17:16:21 CET

Original text of this message