Results 1 to 2 of 2

Thread: Copying Recordsets using DAO

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    U.S.A.
    Posts
    75
    Just a quick question.
    I have a DAO recordset and I want to copy the entire recordset to a new database.
    The new database is an empty template of the recordset...meaning it has all the same fields.

    The question is what is the most simple and efficient way of doing this?
    Stepping through each of the records and writting them individually to the database? OR Is there a way to just copy over the whole thing?

  2. #2

    Yes

    Yes - you need to cycle through the complete recordset and move the data over to the other database. Unfortunately there is no way to simply tell the recordset to copy itself over. This must be written, and once it is, of course, it would be completely transparent to someone.

    Somebody else have an idea?
    Senior Systems Architect/Programmer

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