Solved

Create a ADO database (runtime)?

Posted on 2000-02-29
5
170 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 70

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
 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

707 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