how to open another databse

S

salem

I have 2 databse
1- is aa.mdb
2- is bb.mdb
bb is locked by passowrd
(123)
I have starup form in bb.mdb and i add abouttm to oppen
anther databse (aa.mdb)
i use this code

Dim sAppName As String
sAppName = "MSACCESS.EXE c:\WINDOWS\Desktop\1
\aa.mdb /Pwd ;123; "
Call Shell(sAppName, vbMaximizedFocus)
my problem is in password how can i open aa.mdb
when i am in bb.mdb
thanks

salem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top