M
Mark
Hi all,
In a report control source I have the following code:
=[Match1]+ [Match2]+ [Match3]+ [Match4]+ [Match5]
Each one of the above fields ("[Match1]"
through "[Match5]") has either a 1 or 0 value, which
basically displays something like: 10010 when I use the
above code. I would like to have the above code total up
the number of 1's. If the output is 10010 then I would
like to have "2" being displayed. I have tried something
like:
=Count([Match1]+ [Match2]+ [Match3]+ [Match4]+ [Match5])
But it is not working out right, nor if I use Sum. All
this is in the detail portion of the report.
Thanks for any help!
In a report control source I have the following code:
=[Match1]+ [Match2]+ [Match3]+ [Match4]+ [Match5]
Each one of the above fields ("[Match1]"
through "[Match5]") has either a 1 or 0 value, which
basically displays something like: 10010 when I use the
above code. I would like to have the above code total up
the number of 1's. If the output is 10010 then I would
like to have "2" being displayed. I have tried something
like:
=Count([Match1]+ [Match2]+ [Match3]+ [Match4]+ [Match5])
But it is not working out right, nor if I use Sum. All
this is in the detail portion of the report.
Thanks for any help!