open another db

lipin

Registered User.
Local time
Today, 20:44
Joined
May 21, 2002
Messages
149
I am trying to use a command button to open another database, only I can't get it to work. I am guessing it is possible and I just can't get the syntax. I tried in OnClick event:
open G:/Adminsrv/Attend.mdb

why isn't this working?
 
Have not try it but I think it should be:
open Access.exe G:/Adminsrv/Attend.mdb
Hope that help!
Newman
 
Keep Getting : 'Expected As' Error at the G
 
Try

Dim a

a = Shell("msaccess g:\Adminsrv\Attend.mdb" , vbMaximizedFocus)
 

Users who are viewing this thread

Back
Top Bottom