Hi everyone,
I have a table looking like the one below:
X Y Z
-------------------------------
A ALPHA 1
A BETA 4
B DELTA 2
C ALPHA 1
C BETA 2
C DELTA 3
--------------------------------
Now I would like the easiest means of creating a table with all possible variations of column Y for each Column X.Hence, looking like below:
X Y Z
-------------------------------
A ALPHA 1
A BETA 4
A DELTA 0
B ALPHA 0
B BETA 0
B DELTA 2
C ALPHA 1
C BETA 2
C DELTA 3
--------------------------------
Notice the zeros in Column Z where there wasn't a value, and all Column X Fields have 3 datasets.
I thought it would be possible to create a simple table with the 3 possible Column Ys(Alpha, Beta and Delta) and then to use UNION somehow.
I am working in MS ACCESS2003 by the way.
Thanks in advance for any help