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

    ADO Save Property

    I have created a recordset using the ADO control in my VB6
    program.

    I would now like to save the recordset as an MS Access database using the rs.save property.

    Can someone provide sample code on how to do this.

    Thanks.


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: ADO Save Property

    you cannot use the Save method to create an Access database.
    The Save method has a "PersistFormat" argument which currently supports only one value: adPersistADTG (ADTG = advanced data table gram AFAIK).
    Thus, you can create only a file that you can open using the RS.Open method.




  3. #3
    Join Date
    Jul 1999
    Posts
    26

    Re: ADO Save Property

    OK

    Then is there any way to create a recordset (database), that can be saved and used as input to MS Access, within a VB6 program?


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