CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • How to find all contacs that don't belong to a group
Pages: [1]

Author Topic: How to find all contacs that don't belong to a group  (Read 694 times)

martinpaul

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4.5
  • CMS version: Joomla 1.5.23
  • MySQL version: 5.0.77
  • PHP version: 5.2.17
How to find all contacs that don't belong to a group
April 25, 2010, 01:53:08 pm
Hi guys,

I've got the following problem. For a non-profit organization we've got a newslettre. Most of it will be send by email, part of it by snailmail and part of it by bike (typical dutch). We've got some 1100 contacts.

So I made three groups: newslettre_emil, newslettre_snailmail and newslettre_bike. So far so good. Then my problems began. Our data seems to be incomplete. For a number of contacts none of these groups is added.

Now I want to clean the database and I want to list all the contacts that doesn't belong to either of those three groups.

I tried some build queries, but I can't find the operator for "is not in group".

I need some help.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: How to find all contacs that don't belong to a group
April 25, 2010, 04:15:25 pm
I think there is a Custom Search that helps you do 'in this group not in that group' so you can make a Group = All, then specify to exclude the contacts in your 3 other Groups.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

martinpaul

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4.5
  • CMS version: Joomla 1.5.23
  • MySQL version: 5.0.77
  • PHP version: 5.2.17
Re: How to find all contacs that don't belong to a group
April 28, 2010, 12:10:12 pm
Shame on me! I forgot to select the whole population first.  YES it works, thank you for helping me out.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • How to find all contacs that don't belong to a group

This forum was archived on 2017-11-26.