Dave Punky
Board Regular
- Joined
- Jan 7, 2010
- Messages
- 133
Hi all,
This may be something obvious but I simply want to create a new .mdb (Database) file via VBA code.
I would normally enable the Access reference in VBA and just create a new database that way, however the system where I plan on using this doesn't have Access references so I need to create the file generally and add the tables using DAO Objects to create tables/fields via SQL.
Basically I just need to be pointed in the right direction for creating the files to begin with if anyone can help?
This may be something obvious but I simply want to create a new .mdb (Database) file via VBA code.
I would normally enable the Access reference in VBA and just create a new database that way, however the system where I plan on using this doesn't have Access references so I need to create the file generally and add the tables using DAO Objects to create tables/fields via SQL.
Basically I just need to be pointed in the right direction for creating the files to begin with if anyone can help?