Results 1 to 4 of 4
  1. #1
    yamalady is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2013
    Location
    Ohio
    Posts
    17

    Two Unrelated Tables and Have to Add together

    I have two unrelated tables. I have to combine them. I need to take one line from Table 1 and copy that line for each value in Table 2 AND add each value from Table 2.

    For instance...If Table 1 looked like this:

    Joe Smith Blonde Blue Eyes
    Jane Smith Brunette Brown Eyes

    And if Table 2 looked like this:
    Fall
    Winter
    Summer
    Spring



    The final Table would need to look like this:

    Joe Smith Blonde Blue Eyes Fall
    Joe Smith Blonde Blue Eyes Winter
    Joe Smith Blonde Blue Eyes Summer
    Joe Smith Blonde Blue Eyes Spring
    Jane Smith Brunette Brown Eyes Fall
    Jane Smith Brunette Brown Eyes Winter
    Jane Smith Brunette Brown Eyes Summer
    Jane Smith Brunette Brown Eyes Spring


    What is the easiest way to combine them in this manner?

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    The easiest way is to create a query with these two tables and do not join the two tables.
    If you create a query between two tables with no join/relationship set-up, Access will returns the Cartesian Product between the two (which means every row of one table will match up with every row of the other data, just like you want).

  3. #3
    yamalady is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2013
    Location
    Ohio
    Posts
    17
    Here I thought it would be more complicated than that! Over thinking things I guess. Awesome. That worked. Thanks JoeM.

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Your welcome!
    Sometimes, its just knowing the little tricks!

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

Similar Threads

  1. Append query using two unrelated tables
    By maggiemago3 in forum Access
    Replies: 1
    Last Post: 09-07-2013, 09:55 PM
  2. two unrelated tables and parameter query
    By Seito in forum Queries
    Replies: 2
    Last Post: 09-12-2011, 03:01 PM
  3. Combining results from unrelated tables
    By jwreding in forum Queries
    Replies: 7
    Last Post: 08-12-2011, 01:19 PM
  4. Combine two unrelated tables with the same fields
    By lghovden06 in forum Queries
    Replies: 4
    Last Post: 07-27-2010, 03:36 PM
  5. Replies: 27
    Last Post: 10-17-2009, 10:58 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