I'm trying to design a query such that the sum of one field does not equal zero.
I keep getting a message cannot have aggregate function in a where clause. I have put the sum in the top of the field and in the criteria, but get the same message.
So where might it be placed so that the query runs?
Sum([Fld]) <>0
-
- Administrator
- Posts: 78588
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Sum([Fld]) <>0
Is your query a Totals query?
It is a Totals query if the Totals button in the Show/Hide group of the Design tab of the ribbon is highlighted:
It is a Totals query if the Totals button in the Show/Hide group of the Design tab of the ribbon is highlighted:
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans
Hans
-
- BronzeLounger
- Posts: 1412
- Joined: 08 Jul 2016, 18:53
Re: Sum([Fld]) <>0
Senior moment!
Thanks
Thanks