Create a ADO database (runtime)?

Posted on 2000-02-29
Medium Priority
Last Modified: 2013-12-25
How can I create a database, table and fields, append information on that fields and close it?

I'm working with VB 6, ADO, with access.
Question by:asimoes
  • 3
LVL 71

Expert Comment

by:Éric Moreau
ID: 2570072

Accepted Solution

Marine earned 150 total points
ID: 2570082
You will have to use ADOX to do this. And work with it's Tables Class define columns collection and work from that. Visit this link has tutorials.
And for more additional info here is another link. The provide great sample codes.

Author Comment

ID: 2576248
What about the rest of the code writen with ADO?
Should I change all the code to work with databases into the new structure that ADOX brings?


Expert Comment

ID: 2576257
ADOX only allows you to work with table structures i would think. Where as ADO has all the necessary tools for you to navigate though tables and perform actions on it.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question