A
Andy
If I use the code :-
Set dbsAdmin = CurrentDb
DBPath = dbsAdmin.Name
The full path name should be say, c:\Folder A\Folder B\Mydatabase.mdb but
DBPath contains c:\FolderA~1\FolderB~1\Mydatabase.mdb
It seems that for any folders in the path that contain spaces, the spaces
are removed and the "~1" suffix is added.
Is there a way to get the actual path name saved to variable DBPath?
Thanks.
Set dbsAdmin = CurrentDb
DBPath = dbsAdmin.Name
The full path name should be say, c:\Folder A\Folder B\Mydatabase.mdb but
DBPath contains c:\FolderA~1\FolderB~1\Mydatabase.mdb
It seems that for any folders in the path that contain spaces, the spaces
are removed and the "~1" suffix is added.
Is there a way to get the actual path name saved to variable DBPath?
Thanks.