Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Combine tables in Access
Name: Daniel Peel Date: November 26, 2008 at 17:43:28 Pacific OS: xp CPU/Ram: n/a Product: n/a
Comment:
I have 3 tables... size color and style...
ex.
Size 24 50
Color red yellow green
Style fork knife spoon
What I need to do is.. have one table that has color style name ex.
50 red knife 50 red spoon 50 red fork 24 red knife 24 red spoon 24 red fork etc...
I though it easier to do the three tables and combine somehow.. vs typing out 120 lines.
Name: jon_k Date: November 27, 2008 at 06:22:09 Pacific
Reply:
Yes you can
You can use a select statement based on your table structure to output a file, then load that into a new table. The following SQL statement will kick out every possible combination of style, size and colour (use in Query design view)
SELECT size_table.size, colour_table.colour, style_table.style FROM size_table, colour_table, style_table
This info can then be loaded into access as a new table but remember you'll still need a primary key on this new table.
Summary: I am looking to combine 21 tables in access so that 1 table shows all the information. I do not want to use a query, as the tables do not get updated if new info is added. Is there a way of getting 21...