G
Guest
Access 2003. Creating report based on a single table. Table consists of a
field for a name and 25 fields that are all Yes/No checkboxes. The report
must show detail on the different subsets of the data based on the number of
"Yes" choices to checkboxes. An example would be the mutually exclusive group
of those with 19 checkboxes marked "Yes". Any record will be a member of
only one subset.
Now I have been succesful using DCount and a very lengthy expression for the
selection expression, based on summing all the checkbox values in each
record, and then with lots of ANDS to help me. Surely the wise folks on this
site could add some elegance to my brute force approach. I am already aware
that I am going to be asked to do similar again in the future with more than
40 Yes/No checkboxes. I would rather not dedicate the rest of my life to
writing a single report. As always thanks for the creativty and wisdom made
available here.
field for a name and 25 fields that are all Yes/No checkboxes. The report
must show detail on the different subsets of the data based on the number of
"Yes" choices to checkboxes. An example would be the mutually exclusive group
of those with 19 checkboxes marked "Yes". Any record will be a member of
only one subset.
Now I have been succesful using DCount and a very lengthy expression for the
selection expression, based on summing all the checkbox values in each
record, and then with lots of ANDS to help me. Surely the wise folks on this
site could add some elegance to my brute force approach. I am already aware
that I am going to be asked to do similar again in the future with more than
40 Yes/No checkboxes. I would rather not dedicate the rest of my life to
writing a single report. As always thanks for the creativty and wisdom made
available here.