I have the code:
=DCount("[Priority]","Calls","[Priority] = '1'"
As the controlsource in a text box to to display the SUM of all the records where the Priority field in a "Calls" table = 1. However I would only like the sum of all the records where the priority field in a calls table = 1 AND a checkbox (let's call it checkbox1 and the field "completed" in the same "Calls" table is FALSE. Does anyone know what extra bit I have to add to the code to achieve this?
Thanks
=DCount("[Priority]","Calls","[Priority] = '1'"
As the controlsource in a text box to to display the SUM of all the records where the Priority field in a "Calls" table = 1. However I would only like the sum of all the records where the priority field in a calls table = 1 AND a checkbox (let's call it checkbox1 and the field "completed" in the same "Calls" table is FALSE. Does anyone know what extra bit I have to add to the code to achieve this?
Thanks