Create a new (empty) .mdb using code

G

Guest

I have a form in an Access 2002 .mdb.
I would like to have part of the code behind
this form generate a new (empty) .mdb

Is this possible? If so, how?

Thanks.
 
J

John Vinson

I have a form in an Access 2002 .mdb.
I would like to have part of the code behind
this form generate a new (empty) .mdb

Is this possible? If so, how?

Thanks.

Yes; see the CreateDatabase method of the Application object in the
VBA help.
 

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