I'd like to make a column that counts how often a checkbox is true (-1) for a specific row. Specically: I'd like to know how many rows For 2 columns, you can use iif and count function, but that coding becomes to long, since i've got 10 different columns with checkboxes.
I've tried making an query with the expression: Exp1:-1*([A]+[B]...[I])
but everytime i run it, it adds 0 columns to my table, which it shouldnt..
In the query design view I've: -pressed E(total)and
added the column with rows (IDs) Total: Group BY
a column with destination (number) with criteria:Exp1:-1*([A]+[B]...{I])and total:expressio n. Then I added the [A]..[I] columns.total: sum. What ar the criteria there?
Maybe it is because I don' know exactly what to fill in at "update to" and criteria for [A] to [I]?
Could anyone help?
I've tried making an query with the expression: Exp1:-1*([A]+[B]...[I])
but everytime i run it, it adds 0 columns to my table, which it shouldnt..
In the query design view I've: -pressed E(total)and
added the column with rows (IDs) Total: Group BY
a column with destination (number) with criteria:Exp1:-1*([A]+[B]...{I])and total:expressio n. Then I added the [A]..[I] columns.total: sum. What ar the criteria there?
Maybe it is because I don' know exactly what to fill in at "update to" and criteria for [A] to [I]?
Could anyone help?
Comment