Microsoft
Software
Hardware
Network
Question : MS Access =count on Form
I am trying to count all the records on my report that have "Yes" in "DutyAssigned" field.
I put =Count([DutyAssigned]=Yes)
in the Report Footer and I get a total of all the records. I put it in Page footer and I get #error. What am I doing worng?
Answer : MS Access =count on Form
There is no expression of that type in Access.
Use..
Sum (iif(DutyAssigned =Yes, 1,0))
This assumes DutyAssigned is a Yes/No field in the table.
If it is just text then you need..
Sum (iif(DutyAssigned ="Yes", 1,0))
Random Solutions
Virtualizing SQL
Why won't Exchange Transport service start in Exchange 2007 on our SBS 2008 server ?
instantiating an object in php
VMware Workstation 7.1 Won't Install
Disable IPv6 on windows 2008
Exchange database backup failing with Arcserve v15
Exchange 2007 Incremental backup
cannot find webica.ini in Windows 7
How do i factory reset netvanta 1524st switch from the cli command line?
Close a connection to Ajax