how to connect as a different user at runtime (in code)

J

Jay

Is there a way to startup an Access 2002 app with the default admin user,
then have code which when executed will connect to a different user?
This app starts without any login prompt which I understand means it is
using the default admin user.
My purpose for this is to provide additional privilages for a function at
runtime that does object deletes (docmd.deleteObject). I have taken away
this privilage from the default admin to secure the app from my users.
Thanks.
 

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