T
Tim
(posted as reply to an earlier message... don't think
anyone will see it there...)
My project manager's goal is take a normalized table and
break it down, to one row per study subject and egads of
variables across, to fit in with a 1980's version of the
data for long-term analyses.
My problem is that the variable "ActivityId" has 20
entries. I have transposed the 12 or so that I want
across as columns, but for some reason i still have 20
rows and the variables (iif True False statement) fill in
a nice diagonal pattern down the datasheet. When I
aggregate (the obvious answer), I receive an MSJet error
message about a SQL Transform statement, but that's where
my Access knowledge stops... any suggestions?
Visually:
:what I have:
ID var1 var2 var3 etc.
12 1 0 0
12 0 1 0
12 0 0 1
:what I want:
ID var1 var2 var3 etc.
12 1 1 1
13 0 1 0
please reply to me via email if you have anything useful
(and to the boards, as expected)!
Thanks,
Tim
anyone will see it there...)
My project manager's goal is take a normalized table and
break it down, to one row per study subject and egads of
variables across, to fit in with a 1980's version of the
data for long-term analyses.
My problem is that the variable "ActivityId" has 20
entries. I have transposed the 12 or so that I want
across as columns, but for some reason i still have 20
rows and the variables (iif True False statement) fill in
a nice diagonal pattern down the datasheet. When I
aggregate (the obvious answer), I receive an MSJet error
message about a SQL Transform statement, but that's where
my Access knowledge stops... any suggestions?
Visually:
:what I have:
ID var1 var2 var3 etc.
12 1 0 0
12 0 1 0
12 0 0 1
:what I want:
ID var1 var2 var3 etc.
12 1 1 1
13 0 1 0
please reply to me via email if you have anything useful
(and to the boards, as expected)!
Thanks,
Tim