DataBase pwd

A

AndyEduardo

Hello.

I have a database with password but I need to open it from anothe
database(it is the program). When I try to open the program it says "N
valid password".

How can I use opendatabase in VB
 
A

Alex Dybenko

Hi,
if you open it using OpenDatabase - you have to specify db password in a
last argument. see access help for more info
 
A

AndyEduardo

I tried to see the Access Help but in this case it has not the topi
OpenDataBAs
 
J

James Franklin

Hello.

I have a database with password but I need to open it from another
database(it is the program). When I try to open the program it says "No
valid password".

How can I use opendatabase in VB?

Is this MS Access?
With such little information, I would guess that the databaes you are trying to open from within "the program" is using a different workgroup than the default. When you are in the default workgroup, you are admin. It is possible the database you are trying to open uses a different workgroup that has changed admin's password.

My two cents.
 
Top