If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
create a table within an access2007 database using code in a vb.net app ?
Hi,
Is it possible to create a table via code (create table ........) in an access 2007 database from a Vb.net 2008 application? Any tips/samples/links on how to do this ? |
#2
|
|||
|
|||
create a table within an access2007 database using code in a vb.net app ?
Assuming you have some kind of driver that connects to the Access database,
you can execute a DDL query to CREATE TABLE. Here's an example of executing a DDL statement to create a table: http://allenbrowne.com/func-DDL.html#CreateTableDDL The example is VBA code, but the SQL statement would be similar in whatever language and connection you use from VB.NET. -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Aussie Rules" wrote in message ... Is it possible to create a table via code (create table ........) in an access 2007 database from a Vb.net 2008 application? Any tips/samples/links on how to do this ? |
Thread Tools | |
Display Modes | |
|
|