access 2002 vba compact-repair permissions

M

madhouse

Hi
Am running application.compactrepair (source,dest,logfile) from VBA.
This is available to users, however it appears that only the database owner
user can run it successfully. Is this the case? If so is it possible to pass
the admin user and password to the compactreapir function in vba code rather
than have to give all users owner rights?
thanks in advance
Madhouse.
 
J

Joan Wild

madhouse said:
Hi
Am running application.compactrepair (source,dest,logfile) from VBA.
This is available to users, however it appears that only the database
owner user can run it successfully. Is this the case?

Give your user groups open exclusive permission on the database.
 
M

madhouse

Thanks Joan
It might make you laugh to hear I'd been doing this on the front-end mdb
rather than the back-end mdb that I was compacting....oops.
 

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