Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Combining Tables in Access

$
0
0
Hi guys,

I am trying to do a really weird combination of an Append/Union query and I'm not sure if it's possible or not, and if it is - is there a way to do it? I'm pretty new to SQL and VBA so I'm doing most of my commands through macros and queries.

I know how to do a normal Append/Union/Create queries but I am trying to do something kind of weird.

If table X has rows A, B, C, and D, and table Y has a column with rows 1, 2, 3, and 4... I need the values in table Y to be assigned to each individual row in table X. Is there a way to create a new table where the columns merge such that values can be assigned like:

X Y
A 1
B 1
C 1
D 1
A 2
B 2
C 2
D 2
A 3
B 3
etc..

Viewing all articles
Browse latest Browse all 13329

Trending Articles