Results 1 to 5 of 5
  1. #1
    cotri is offline Advanced Beginner
    Windows XP Access 2000
    Join Date
    Jan 2010
    Posts
    32

    Exporting Access to Access


    I am trying to export information from an Access database to another Access database and the fields are not named exactly the same in each database. I have set up a query that is pulling selected records and the resulting records are what I would like to export. I have limited experience exporting info using csv but it has been awhile and I’m hoping that will not be necessary here. If somebody has samples of two databases sharing data that would be ideal. Thanks for the help.

  2. #2
    ConneXionLost's Avatar
    ConneXionLost is offline Simulacrum
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Victoria, Canada
    Posts
    291
    Hi cotri,

    Connect the two databases via the source table:

    File > Get External Data > Link Tables...

    then use your append query to transfer the records from one table to the next.

    Cheers,

  3. #3
    cotri is offline Advanced Beginner
    Windows XP Access 2000
    Join Date
    Jan 2010
    Posts
    32
    Quote Originally Posted by ConneXionLost View Post
    Hi cotri,

    Connect the two databases via the source table:

    File > Get External Data > Link Tables...

    then use your append query to transfer the records from one table to the next.

    Cheers,
    I must be doing something wrong here. I set up 2 simple databases to test. What I’m trying to do is take the results of a query in Database 1 and add those records to a table in Database 2. These records will be new records in Database 2 and when imported don't have ID fields. The field names to not match exactly. When I tried to File>Get External Data>Link tables I do not have the option to import queries. In Database 2 I tried File>Get External Data> Import and selected Database1 and I get a window “import objects” and I am able to select “Query” and I can select the query from Database 1 that I want to import. I now see the query from Database 1 in "Queries" in Database 2 and open it in “Design view” and under “Query Type” select “Append” and get the window “Append”. I select “Current Database” and under “Table Name” select the table in Database 2. For each field I fill in the appropriate “Append to” with its mating field. When I run the query I get an error “The Microsoft Jet database cannot find the input table or query ‘Table 1’. Make sure it exists and that its name is spelled correctly”. The name of the query it is pulling data from is not ‘Table 1” it is “Table 1 Query”. I’m guessing that part of the problem but I’m not able to proceed. I am trying to attach both databases here. Thanks again for any help.

  4. #4
    ConneXionLost's Avatar
    ConneXionLost is offline Simulacrum
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Victoria, Canada
    Posts
    291
    Take smaller steps.

    In Database 1, convert your query to a Make-Table query (or create a new query), and make a table with the desired records in Database 1.

    In Database 2, link to the table you just created using File>Get External Data>Link tables.

    Now create an append query to copy the records from the linked table to the table you want to keep the records.

    Cheers,

  5. #5
    cotri is offline Advanced Beginner
    Windows XP Access 2000
    Join Date
    Jan 2010
    Posts
    32
    Quote Originally Posted by ConneXionLost View Post
    Take smaller steps.

    In Database 1, convert your query to a Make-Table query (or create a new query), and make a table with the desired records in Database 1.

    In Database 2, link to the table you just created using File>Get External Data>Link tables.

    Now create an append query to copy the records from the linked table to the table you want to keep the records.

    Cheers,
    That did the trick. Thanks for all the help

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Exporting more than 65000 Access rows to Excel
    By TonyBender in forum Import/Export Data
    Replies: 8
    Last Post: 08-22-2013, 04:56 PM
  2. Replies: 6
    Last Post: 12-01-2009, 11:59 AM
  3. Exporting Access queries to Excel
    By dbDamo in forum Import/Export Data
    Replies: 2
    Last Post: 09-22-2009, 01:42 AM
  4. Replies: 32
    Last Post: 09-16-2009, 10:06 AM
  5. Replies: 0
    Last Post: 06-05-2009, 10:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums