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
Multicast session fails to open on secondary site server.
Are Mac's easier to support than PC's? Why or why not?
WIN Network on SBS 2K3 server has disappeared
how to re-assign a class member in c++ (override its value by pointer)
Hacking the Error with Custom error message
HTTP Error 404.3 on IIS 7.0
OCS 2007 R2 and Cisco call manager
Identifying a cell in a declaration as having any value that falls within a specified range
HOW TO: remove the Anonymous User from the Everyone Group....
Visual Mapping Software