creating a new Db through VBA code

R

rocco

Hello,
I wrote down code to create a new database (unsecured) and fill it with some
tables from another (secured) database.
With the same procedure I established permissions to the Admin user against
the newly created tables.
All worked fine but...If I open the new database I get two error messages
saying:
first msg: "Record(s) cannot be read; no read permission on 'MSysObjects'"
second msg: "Record(s) cannot be read; no read permission on 'MSysACEs'"
you just click 'OK' and the Db opens fine. From then on the messages will
never fire up again.
I know these tables were created automatically and they exist in any db but
how an I overcome they from show up the first time the user try to open the
DB?
They own to 'Engine' so there's not that much I can do with them. Or not?
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