+ Reply to Thread
Results 1 to 3 of 3

combining data from 2 table into a new one

  1. #1
    Registered User
    Join Date
    12-07-2010
    Location
    south africa
    MS-Off Ver
    Excel 2010
    Posts
    29

    combining data from 2 table into a new one

    i have 2 tables

    table1 with columns number,category,answer
    table2 wtih columns number, category, answer

    table 1 looks something like this:

    number category answer
    1 training yes
    3 coaching no

    table 2 like this:

    Number category answer
    2 walking yes

    I want to make a new table that consists out of the category answer only and should look something like this

    Column heaaders should be training, coaching, walking

    example,

    coaching training walking
    yes no yes

    Can someone help me with a Query or an idea?

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: combining data from 2 table into a new one

    Personally, I think it'd be easiest to export the two tables to excel, set them up how you want the new table to be in excel, which should be quite easy, and then import back into Access as a new table.

    You could set up some code in Access to create the new table and then fill it with info from the two tables, but it would be much more complicated.
    Last edited by davegugg; 08-09-2011 at 02:18 PM. Reason: Spelling
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Registered User
    Join Date
    12-07-2010
    Location
    south africa
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: combining data from 2 table into a new one

    Thanks dave, i agree with you 100%

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1