[AccessD] Open a database

Gary J. Giever gjgiever at myway.com
Wed Nov 15 09:40:31 CST 2006


This is frustrating.  All I want to do is open another database from the currently open database.  The code is like the help examples:

Dim dbMyDB As Database
Dim strDBName As String
strDBName = "C:\My Documents\ClientMasterUpdate.mdb"
Set dbMyDB = DBEngine.Workspaces(0).OpenDatabase(strDBName)

But nothing happens.  What am I missing?


Gary J. Giever, M.A.
Applications Developer
ACCMHS

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com





More information about the AccessD mailing list