Solved

Create a ADO database (runtime)?

Posted on 2000-02-29
5
165 Views
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.
thanks
0
Comment
Question by:asimoes
  • 3
5 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 2570072
0
 
LVL 6

Accepted Solution

by:
Marine earned 50 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.
http://msdn.microsoft.com/library/officedev/odeopg/deovrcreatingmodifyingaccesstables.htm
And for more additional info here is another link. The provide great sample codes.
0
 
LVL 6

Expert Comment

by:Marine
ID: 2570085
0
 

Author Comment

by:asimoes
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?

Thanks
0
 
LVL 6

Expert Comment

by:Marine
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.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now