Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Create a ADO database (runtime)?

Posted on 2000-02-29
5
Medium Priority
?
173 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 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.
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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Suggested Courses

604 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