Results 1 to 2 of 2
  1. #1
    revned12 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    6

    combining 3 tables

    I have 3 imported tables namely Sheet_1, Sheet_2 and Sheet_3



    They have all the same field names now I am looking for a solution in combining them into one table and name it tbl_ProjectList.

    I need to do this thru a button cmd_UpdateProjectList, what I need to do all this staff?

    And can anyone help how to figure out my VBA code for my cmd_UpdateProjectList?

    Appreciated

    thanks in advance,
    revned12

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You can write records from one table to another using an Append Query. You will probably need two Append Queries.
    Once you have created those, you can incorporate and run those with via VBA (with OpenQuery commands).
    If you are unsure of the VBA syntax for that, an easy way is to create a Macro that opens those queries (to run them), and then use the "Convert Macros to Visual Basic" functionality to see what that looks like in VBA code.

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

Similar Threads

  1. Combining two tables to one
    By Jerseynjphillypa in forum Queries
    Replies: 3
    Last Post: 06-22-2012, 12:06 PM
  2. Combining Tables by Query
    By jlclark4 in forum Queries
    Replies: 9
    Last Post: 01-25-2011, 12:19 PM
  3. combining 2 tables
    By psrs0810 in forum Access
    Replies: 11
    Last Post: 01-07-2010, 08:55 AM
  4. Combining Tables
    By king_bowzow in forum Queries
    Replies: 0
    Last Post: 08-05-2009, 10:15 AM
  5. Help combining 3 tables
    By luscioussarita in forum Queries
    Replies: 1
    Last Post: 12-14-2005, 03:22 PM

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