devxlogo

Creating Databases at Runtime

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.

See also  5 Tips to Manage a Remote Workforce
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist