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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Search builder: Contacts that doesn't belong to a group
Pages: [1]

Author Topic: Search builder: Contacts that doesn't belong to a group  (Read 727 times)

pst_manly

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: 6.19
  • MySQL version: 5.0.45
  • PHP version: 5.2.13
Search builder: Contacts that doesn't belong to a group
March 16, 2011, 10:04:46 pm
How do we do a query to do a "Contacts that doesn't belong to a group" ?

I've tried using "!=", but the results still show up the contact, if that contact also belonged to another group.

Anyone can help?

Thanks

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: Search builder: Contacts that doesn't belong to a group
March 16, 2011, 11:20:44 pm
hey

there is a Custom Search that does ' in this group/tag but not in that group/tag' so you just need an everyone group and your one to exclude

under searches - not sure if it shows on admin menu - if not just click on Custom Searches to see the List

SUGGESTION - the admin menu include an ALL CUSTOM SEARCHES link to noobs know there are more than the ones that show
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

Chris / Kampaweb

  • I’m new here
  • *
  • Posts: 15
  • Karma: 1
  • CiviCRM-Beratung im deutschsprachigen Gebiet
    • Kampaweb
  • CiviCRM version: 3.3.6
  • CMS version: Drupal 6.20
  • MySQL version: 5.1.54
  • PHP version: 5.3
Re: Search builder: Contacts that doesn't belong to a group
September 15, 2011, 09:35:12 am
Thanks Pete!

This finally helped me, after I've just struggled with the same issue for an hour or so...

Still I would like to know, why it doesn't work in the way described by pst_manly with the search builder.
Did I get something wrong with the NOT command ("!=") here?

Cheers,

Chris

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Search builder: Contacts that doesn't belong to a group

This forum was archived on 2017-11-26.