P
pokdbz
I am having problems with DCount on reports.
I have a query HispanicReportQuery which has the fields:
Race
Hispanic
StudyTitle
What I need to do is count the number of people for each race and each study.
So this is what I envisioned the output looking like:
Study: Study1
White: 5
Black/Af. Am.: 6
Asian: 3
Study: Study 2
White: 10
Black/Af. Am.: 2
Asian: 7
This is what I have for the DCount of the White field
=DCount("StudyTitle","HispanicReportQuery","HispanicReportQuery.Race=White")
Maybe I am going about this wrong, do you have any suggestions what the
problem might be?
I have a query HispanicReportQuery which has the fields:
Race
Hispanic
StudyTitle
What I need to do is count the number of people for each race and each study.
So this is what I envisioned the output looking like:
Study: Study1
White: 5
Black/Af. Am.: 6
Asian: 3
Study: Study 2
White: 10
Black/Af. Am.: 2
Asian: 7
This is what I have for the DCount of the White field
=DCount("StudyTitle","HispanicReportQuery","HispanicReportQuery.Race=White")
Maybe I am going about this wrong, do you have any suggestions what the
problem might be?