Link to home
Start Free TrialLog in
Avatar of sujeet27
sujeet27

asked on

How to do Automation of MS Access in MFC.

I want to access MS Access database (.mdb files) through the object model of MS Access Database i.e. tables etc. How to do that.
ASKER CERTIFIED SOLUTION
Avatar of AlexFM
AlexFM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sujeet27
sujeet27

ASKER

I want to access tables in the MS Access by (i.e.  .mdb files) by object model of MS Access
 i.e. Automation not by DAO as show in the examples.Can please tell me how to change/read  data in the .mdb files by use of Automation.
for example if you use Visual Basic ,  add to the references Microsoft Access 10/...Object Library

after that you can declare varioables from this type :

Dim a As  Access
then use its properties and methods