[AccessD] Read External File for Path String

Bryan Carbonnell carbonnb at gmail.com
Wed Jan 18 18:47:47 CST 2006


On 18/01/06, Dan Waters <dwaters at usinternet.com> wrote:

> I just spent half the day struggling with the movement of a system from one
> server to another.  The server path is hardcoded in one place in a startup
> form.  What would have helped me a lot is to have the path in a text file or
> ini file external to the database and stored in the same folder.
>
> Security is not an issue here, just my convenience, as my plans for the day
> were pretty much blown up!
>
> Using a file for information like this sounds like it might be a fairly
> typical solution.  Does anyone do this or something like it?

I ust a Global constant to store the path. That way, all I need to do
is change it in one place whne the server changes.

I have considered using an INI file, but decided that a constant was a
better route to go for me.

--
Bryan Carbonnell - carbonnb at gmail.com
Life's journey is not to arrive at the grave safely in a well
preserved body, but rather to skid in sideways, totally worn out,
shouting "What a great ride!"



More information about the AccessD mailing list