I'm sure this is easy, but is it possible to have a count field which only counts records you are showing? I have a suppression on some records, but they are still included in a count - how do I stop this?
Go to insert/field object create a running total. Set the type of summary to Count. For the "evaluate" part, choose Formula and then use the reverse logic that you are using to suppress. For example, if you are using:
{field} = "Hide" to suppress, use {field}<>"Hide" to
Cheers for the reply Mike. I can see your logic here 100%, and was convinced that it would work...but it doesn't seem to.
Have added running total > count field, have created formula like this:
{ClubMember.email} <> "x@y.co.uk"
or {ClubMember.email} <> "z@n.com"
or {ClubMember.email} <> "g@.co.uk"
or {ClubMember.email} <> "n@l.co.uk"
but it still gives me the total number of recs. Is there something else I may be missing?
Here is your formula in an easier form (at leat for me) It is basically asking to evaluate if the ClubMember.email is are not one of...
not({ClubMember.email} in ["x@y.co.uk", "z@n.com", "g@.co.uk","n@l.co.uk"])
or for you suppression - suppress is email is one of these
{ClubMember.email} in ["x@y.co.uk", "z@n.com", "g@.co.uk","n@l.co.uk"]
I forgot brackets. Should have been
not({ClubMember.email} in ["x@y.co.uk", "z@n.com", "g@.co.uk","n@l.co.uk"])
No, the ()'s are cool. It's that the multiple emails need to be encased in []'s, as they constitute an array. So the whole thing looks like: not({X} in [x,y,z]).
But as you've opted to lose the records you don't need at the record selection stage - which is the best option - this is a moot point.
It IS the TGML, and I regularly uncheck it when using brackets in a post(or if using as a subscript, to avoid the interpretation as italics) because of this problem.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.