L
LP
How can I retrieve the count of records of different names from a single
field with the DCount function?
I can retrieve from a field such as [ethnicity] the number of say, Irish
using in control source =DCount ("[Ethnicity]","qryX","[Ethnicity]='Irish'
"), which works fine. But if I need the count of Irish and also the
Canadians, using =DCount ("[Ethnicity]","qryX","[Ethnicity]='Irish' AND
'Canadians' ") does not pick up the second entry, ie Canadians. Can anyone
help?
field with the DCount function?
I can retrieve from a field such as [ethnicity] the number of say, Irish
using in control source =DCount ("[Ethnicity]","qryX","[Ethnicity]='Irish'
"), which works fine. But if I need the count of Irish and also the
Canadians, using =DCount ("[Ethnicity]","qryX","[Ethnicity]='Irish' AND
'Canadians' ") does not pick up the second entry, ie Canadians. Can anyone
help?