Creating Databases at Runtime

Question:
I am designing an application that should be able to createnew databases in the specific format that it expects tosee. I have not seen anything anywhere on how to createcustom databases on the fly. Is it possible?

Answer:
It’s not particularly well documented, but it does work, as I’ve done it. CreateDatabase is where you start. You can then add tables to the TableDefs collection…that should be documented, as well as adding fields to each of the tables. The other alternative you may want to consider is to send out a “starter” database that could be copied to a new filename instead of starting from scratch.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: