J
Janelle.Dunlap
I have used the CreateDatabase method in vb to create a new access
database. I now need to open this new database and close the existing
one. The code I am using to do this is as follows:
Application.FollowHyperlink strSaveFileName
Application.Quit
Where strSaveFileName is the string file path to the newly created
database. When I run this I am getting an error: Cannot Open Specified
File. This doesn't make sense to me because I can open the new
database manually and have also tried adding a hyperlink on my form
that points directly to the new database - and this works fine. Any
suggestions?
database. I now need to open this new database and close the existing
one. The code I am using to do this is as follows:
Application.FollowHyperlink strSaveFileName
Application.Quit
Where strSaveFileName is the string file path to the newly created
database. When I run this I am getting an error: Cannot Open Specified
File. This doesn't make sense to me because I can open the new
database manually and have also tried adding a hyperlink on my form
that points directly to the new database - and this works fine. Any
suggestions?