CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 1999
    Posts
    6

    Archive data in MS-Access from VC++

    Hello,
    I would like to export and import data to and from formatted files from an MS-Access database. As far as i know there are two ways of doing it in Access viz. using Macros and VBA. But how can I do it from a client written in VC++. I would like to export data selectively based on a where clause.
    Help Please !!

    ThanX and Rgds


  2. #2
    Join Date
    Apr 1999
    Location
    New Zealand
    Posts
    8

    Re: Archive data in MS-Access from VC++

    If you are using MFC, then you can manipulate an Access database through DAO classes provided for you.

    Check the documentation for classes:

    CDaoDatabase
    CDaoRecordset
    CDaoQuerydef
    etc.

    Hope this helps.


  3. #3
    Guest

    Re: Archive data in MS-Access from VC++

    Please send mail to me..
    And I will send a sample program.
    This program used dao( in order to import and export data from MS-ACCESS ).
    e-mail Addess is belowed :
    [email protected]
    I will wait for yours.


  4. #4
    Guest

    Re: Archive data in MS-Access from VC++

    Why not use ADO? Ado works fine when connecting to0 MS-Access database. Furthermore this is the technology Microsoft wants us to use because it belongs to the OLE-DB group...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured