Add a field to exist access table by ADO

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • farhad
    New Member
    • Sep 2006
    • 17

    Add a field to exist access table by ADO

    Hi

    In vb6 and access 2000 database , if we want to add a field in one of the tables, How can do if we want to use ADO , please tell code about. thanks
  • CaptainD
    New Member
    • Mar 2006
    • 135

    #2
    Originally posted by farhad
    Hi

    In vb6 and access 2000 database , if we want to add a field in one of the tables, How can do if we want to use ADO , please tell code about. thanks
    I assume you are already doing inserts, updates through ADO so you have the connections.

    If so, just pass an "Alter Table" SQL statement to the database. I've never done it to an access database, only SQL Server database but it should work.

    Comment

    Working...