Create a new (empty) .mdb using code

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
Back
Top