Good afternoon.
I am very rusty on SQL and Access, so bear with me.
I have a query where I would like to get a total count for two fields.
Example:
table name: Mishap Data
Fields: Days Away From Work and Job Restrictions
I would like the query to return a count on how many records have a YES in either one of these two fields. One record might have a YES in both of these fields, but I don't want the query to count these as two.
I figure this would have to be done with some sort of IIF cmd.
Confusing?
Mark
I am very rusty on SQL and Access, so bear with me.
I have a query where I would like to get a total count for two fields.
Example:
table name: Mishap Data
Fields: Days Away From Work and Job Restrictions
I would like the query to return a count on how many records have a YES in either one of these two fields. One record might have a YES in both of these fields, but I don't want the query to count these as two.
I figure this would have to be done with some sort of IIF cmd.
Confusing?
Mark