D
Dale
I have a table that stores a number (primary key), a name , and 26
fields that are answered with only "Y"."N", or "NA". I am trying to
count the number of y's, n's and na's for each of the 26 fields. I
have tried crosstabs but I get numbers that are either the total of
all recores or some combination of records.
## name A B C D E F G
ie. 111113 Dan y y n y n na y
111112 Dan y y y y na y n
should count : A B C D E F G
Y 2 2 1 2 0 1 1
N 0 0 1 0 1 0 1
NA 0 0 0 0 1 1 0
I hope I have explained this well enough. I can extract the
information I need if I create a query that only uses one of the
y,n,na at a time but I'm sure there has got to be a simpler way. Any
help would be greatly appreciated.
Thanks,
Dale
fields that are answered with only "Y"."N", or "NA". I am trying to
count the number of y's, n's and na's for each of the 26 fields. I
have tried crosstabs but I get numbers that are either the total of
all recores or some combination of records.
## name A B C D E F G
ie. 111113 Dan y y n y n na y
111112 Dan y y y y na y n
should count : A B C D E F G
Y 2 2 1 2 0 1 1
N 0 0 1 0 1 0 1
NA 0 0 0 0 1 1 0
I hope I have explained this well enough. I can extract the
information I need if I create a query that only uses one of the
y,n,na at a time but I'm sure there has got to be a simpler way. Any
help would be greatly appreciated.
Thanks,
Dale