Solved

Create a ADO database (runtime)?

Posted on 2000-02-29
5
168 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 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
 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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.
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…
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…

832 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