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?
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
Thanks dave, i agree with you 100%
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks