If you mean the "database password" prevents you doing this, you should be
using "User Level Security" and setting the exact same security/Users on both
the frontend and the backend. That way, your frontend has permission to use
the backend!
set MyDB = DBENGINE.OpenDatabase(DataFileName, False, False,
";PWD=s3cr3t")
Note: when you use methods of the dbengine object - eg. opendatabase -
you should always include the dbengine keyword, as shown above.
Otherwise, strange DAO licencing & other errors can occur; for example,
the inability to create an MDE in certain cases.
HTH,
TC
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.