> Hi,
>
> Let me know your opinion on the following situation.
>
> I am the system analyst and perform all the in house application design, deployment,
> and support.
> I normally via a form, have a central setup form allowing the user to configure global
> features and options within the application I am coding. Part of this setup is the
> UNC to the server location where the database and tables are stored. This is
> done in the normal manner with the normal GetFile( ) function to auto-fill in
> the server path and database name to a memory variable and then used to
> set the default path correctly.
>
> I have another individual in my team that for what-ever reason is insistant that
> the server path be controlled via a locally setup environmental variable as oppose
> to a user definable selection in my setup form, and I get the path with the
> a GetEnv( ) function to read in the path.
>
> I would appreciate you expert opinion on this from a software application
> perspective please.
>
> Pete from the Great White North. (Only in Canada, ay.) Over and Out ...
The only advantage to using GetEnv() that I can think of is that the environment variable could be controlled by an outside source, like a network logon script or config.sys file. This would allow for easy deployment of UNC or other changes in a networked environment.
KTB