I am probably doing this the hard way, but what I need is a total on my report that shows the number of occurances of either "found" or "closed" from the "status" field in a query that produces a list of records that have either "found" or "closed" in them for a particular client.
The query does isolate the client, but the total I end up with applies to all records in the table.
this is what I have in the control property:
=DCount("[MASTER DATABASE]![status]","[MASTER DATABASE]","[status]='FOUND'"
I need to qualify the "status" field to be only the records that match the "client" field that the query is using.
I tried this, but no good:
=DCount("[MASTER DATABASE]![status]","[MASTER DATABASE]","[status]='FOUND'& [client]='whoever'"
Is there a better way?
Thanks!!
Ray
The query does isolate the client, but the total I end up with applies to all records in the table.
this is what I have in the control property:
=DCount("[MASTER DATABASE]![status]","[MASTER DATABASE]","[status]='FOUND'"
I need to qualify the "status" field to be only the records that match the "client" field that the query is using.
I tried this, but no good:
=DCount("[MASTER DATABASE]![status]","[MASTER DATABASE]","[status]='FOUND'& [client]='whoever'"
Is there a better way?
Thanks!!
Ray