Thanks for the response. I tried:
=Sum(Abs([country]="Netherlands") )
and
=Sum(IIf([country]="Netherlands"; 1;0))
these return the following message:
"This expression has a spelling error or is too complex for evaluation.
A numeric expression could contain to many complex elements.
Try to simplify the expression by assigning several parts to variables."
User Profile
Collapse
-
Count specific records in subreport / DCount
Hi All,
I am new to Access and VBA and I am having trouble getting a count in a subreport.
I have a table named "companies" and a query named "clients" The clients are linked to our different companies. Both have a field named "country" which is linked to a table with all the existing countries.
I have created a report based on the "companies" table. The subreport...
No activity results to display
Show More
Leave a comment: