Hi,

Here is what I wrote:
'DB is a database object
'DBE is a DBEngine object
'FileName refer to the file to open
Set DB = DBE.OpenDatabase(FileName, False, , "Microsoft Jet Database; pwd=mypass")
'The password for the file is mypass
I'm getting an "Not valid password" everytime.

What is wrong with this code ?
Bye

------------------
____________________
Message from
Remy Roy
____________________