Variable name for Default Database Folder

  • Thread starter Thread starter Michael Haskett
  • Start date Start date
M

Michael Haskett

Is it possible to use a variable (e.g. \\dfs folder\%
USERNAME%) for the default database folder? I have had
success doing this for Word, Excel, and PowerPoint, but
not with Access.

Any help would be greatly appreciated.
 
You should be able to do it from code, perhaps in your startup form.

Application.SetOption "Default Database Directory", "\\dfs_folder\" & Environ("username")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top