[AccessD] Where to place path constants?

Gustav Brock gustav at cactus.dk
Sun Mar 6 09:34:17 CST 2022


Hi Arthur

Perhaps: CurrentProject.Path

/gustav

Fra: Arthur Fuller<mailto:fuller.artful at gmail.com>
Sendt: 6. marts 2022 14:08
Til: Access Developers discussion and problem solving<mailto:accessd at databaseadvisors.com>
Emne: [AccessD] Where to place path constants?

I'm revising an app that assumes some paths based on the drive letter and
the project path. At the moment, it uses constants that are scattered
throughout the app. I want to move them all into a single module,
tentatively called modPathConstants, to minimize the find and replace
hassles. Actually, the only thing that will change is the drive letter. The
directory and subdirectory names will remain the same.
I vaguely recall a function called ProjectPath() or somesuch. Guidance
requested.

--
Arthur


More information about the AccessD mailing list