I am able to open other Access databases from the current one as long as the path does not contain any spaces, as in
stAppName = "C:\Program Files\Microsoft Office\Office10\msaccess.exe C:\FolderName\DatabaseName.mdb"
Call Shell(stAppName, 1)
But the call does not work if the path to the file contains any spaces, like:
"c:\Folder Name\DatabaseName.mdb"
I get error: "File not found, c:\folder.mdb"
I don't always have control over the folder names.
Has anyone find a way around this problem? Are there any other ways to launch Databases/Forms?
Thanks
stAppName = "C:\Program Files\Microsoft Office\Office10\msaccess.exe C:\FolderName\DatabaseName.mdb"
Call Shell(stAppName, 1)
But the call does not work if the path to the file contains any spaces, like:
"c:\Folder Name\DatabaseName.mdb"
I get error: "File not found, c:\folder.mdb"
I don't always have control over the folder names.
Has anyone find a way around this problem? Are there any other ways to launch Databases/Forms?
Thanks