Vassago
Former Staff Turned AWF Retiree
- Local time
- Today, 16:37
- Joined
- Dec 26, 2002
- Messages
- 4,696
I'm trying to make one database close and then open another database using this little bit of code:
Dim stAppName As String
stAppName = "MSACCESS.EXE C:\New RST Database.mdb"
Call Shell(stAppName, 1)
DoCmd.Quit acQuitSaveAll
But when it tries to open the new database, it actually tries to open a database named "New.mdb", completely cutting off "RST Database" from the name. Is there any way I can get this to work? Thanks!
Vassago
Dim stAppName As String
stAppName = "MSACCESS.EXE C:\New RST Database.mdb"
Call Shell(stAppName, 1)
DoCmd.Quit acQuitSaveAll
But when it tries to open the new database, it actually tries to open a database named "New.mdb", completely cutting off "RST Database" from the name. Is there any way I can get this to work? Thanks!
Vassago