Re: Path of forms
From: Luc Bosman <l.bosman_at_wanadoo.be>
Date: Mon, 30 Oct 2000 12:27:04 +0100
Message-ID: <e1mqvssim5qfljjh888fatrksb13hrjfee_at_4ax.com>
Date: Mon, 30 Oct 2000 12:27:04 +0100
Message-ID: <e1mqvssim5qfljjh888fatrksb13hrjfee_at_4ax.com>
On Mon, 30 Oct 2000 17:14:13 +0800, Scott <swesley_at_student.ecu.edu.au> 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.
simply use a ini file like this
app.ini
[SEC]
FORMS=..\sec
[TST]
FORMS=..\test
[SPC]
FORMS=..\spc\forms
REPORTS=..\spc\report
SOC=SOCTMP
SOS=SOSTMP
ANNEE=2000
[TAC]
FORMS=..\tache\forms
REPORTS=..\tache\report
Each section is one application.
-- Luc Bosman DEV/2000 Software Engineer Database & Network Administrator l.bosman_at_wanadoo.be ICQ 37011625 http://users.skynet.be/kobukai/ ---------------------------------------------------- | -°) (°- | | /\\ Linux the choice of the GNU generation //\ | | _\_v v_/_ | ----------------------------------------------------Received on Mon Oct 30 2000 - 12:27:04 CET