How to add a data field in a .mdb access file using ADO

My application is a MFC based application. I can read, reset, delete or create record in the access file .
Could anyone please tell me How to add a data field in a .mdb access file using ADO from my application ?

Comments

  • : My application is a MFC based application. I can read, reset, delete or create record in the access file .
    : Could anyone please tell me How to add a data field in a .mdb access file using ADO from my application ?
    :

    one way would be to execute a sql dml statement, "ADD COLUMN..."

    another is with DAO, add a field to the tabledefs collection.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion