J
jeanna
Guest
I am trying to design a report that is based on a query called "qry trip" which filters the records in the "Trip" table by date.
I used the following expression:
=DCount("[Chief Complaint]","Trip","[Chief Complaint] = 'C'")
I want to count the number of instances where the Chief Complaint is equal to "C", but instead of returning the number of instances within the specified date range, it returns all the instances in the table "Trip".
I tried to change "Trip" to "qry trip" but I keep getting an error message. So that I have:
=DCount("[Chief Complaint]","qry trip","[Chief Complaint] = 'C'")
Can anyone help me?
I used the following expression:
=DCount("[Chief Complaint]","Trip","[Chief Complaint] = 'C'")
I want to count the number of instances where the Chief Complaint is equal to "C", but instead of returning the number of instances within the specified date range, it returns all the instances in the table "Trip".
I tried to change "Trip" to "qry trip" but I keep getting an error message. So that I have:
=DCount("[Chief Complaint]","qry trip","[Chief Complaint] = 'C'")
Can anyone help me?