If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Count of records where checkbox 1 is unchecked, checkbox 2 is chec
Hello,
I have a table with several check boxes. I'd like to place in the report footer a count of the number of records where both conditions exist: checkbox 1 is checked checkbox 2 is unchecked. Thanks in advance for your help. Ellen |
#2
|
|||
|
|||
Count of records where checkbox 1 is unchecked, checkbox 2 is chec
EllenM wrote:
I have a table with several check boxes. I'd like to place in the report footer a count of the number of records where both conditions exist: checkbox 1 is checked checkbox 2 is unchecked. Here's one way: =Sum(IIf(checkbox1 And Not checkbox2, 1, 0)) -- Marsh MVP [MS Access] |
#3
|
|||
|
|||
Count of records where checkbox 1 is unchecked, checkbox 2 is
Perfect! Thanks Marsh.
|
Thread Tools | |
Display Modes | |
|
|