Results 1 to 2 of 2

Thread: Copying Tables

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2000
    Location
    Omaha, NE, USA
    Posts
    28
    How can I copy an individual table from one microsift access database file to another?
    - Ovid -

  2. #2
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    You could try something like this (use the IN clause in your SQL statement). This example assumes that NewTable in the new database has the same structure as OldTable in the old database.
    Code:
    Dim NewDB As Database
    ...
    NewDB.Execute "INSERT INTO NewTable " _
                & "SELECT * FROM OldTable " _
                & "IN 'C:\Wherever\OLDDB.MDB'"
    "It's cold gin time again ..."

    Check out my website here.

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