Creating an Access table in VB

harrisw

Registered User.
Local time
Today, 09:40
Joined
Mar 27, 2001
Messages
131
How can I create an access table using purely vb6.

I want the user to be able to specify how many columns the table will be in the vb app

I also need to be able to sort an existing table in the access database by a certain column.

2 questions in one.

Any ideas?
 
1. You can build DDL in code and run it as a pass-through query. Look up CREATE TABLE for syntax. You could also use ADO.

2. Add an Order By clause to your query.
 
AM using ADO but can't find a command to create table. I've also tried MS Knowledge base
 

Users who are viewing this thread

Back
Top Bottom