OK...That is about what I expected.....the below code comes from Chapter 13 of Microsoft Access 97 Developer's Handbook, published by Microsoft Press. I have changed it some, so you will have to modify it to fit your needs...If you need some help with this, please let me know.
I have used this code to give only me (the developer) Admin rights to a database application, but allow specific users the ability to "add" other users....should get you started.
' ******* Start Code *******
Dim W As WorkSpace
Set W = CreateWorkspace("TempDeveloperLogin", "Developer", "dev", dbUseJet)
Workspaces.Append W
Do whatever you need to do here
Set W = Nothing
' ******* End Code ******
Hope this helps you out.... The secret to creativity is knowing how to hide your sources. - Albert Einstein
Robert L. Johnson III, A+, Network+, MCP
Access Developer/Programmer
robert.l.johnson.iii@citigroup.com