anonymous26
Programmer
Hi, i've searched the web for awhile looking for help and nothing seems to work so i thought i would ask her although i'm not sure anyone would understand me (newbie). I created a form in access with a command button and i want the button to open another access database in another folder. I tried the following code and did not work. I also tried dbengine.opendatabase and it did nothing. there was no error message. please help
'Dim appAccess As Access.Application
'Const strpath = "database name"
'Set appAccess = CreateObject("Access.Application")
'appAccess.OpenCurrentDatabase (strpath)
'appAccess.Visible = True
'Dim appAccess As Access.Application
'Const strpath = "database name"
'Set appAccess = CreateObject("Access.Application")
'appAccess.OpenCurrentDatabase (strpath)
'appAccess.Visible = True