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) »
  • How do you search for contacts that no memberships?
Pages: [1]

Author Topic: How do you search for contacts that no memberships?  (Read 2215 times)

MulderDSM

  • I post occasionally
  • **
  • Posts: 100
  • Karma: 0
  • CiviCRM version: 4.6.0
  • CMS version: Joomla 3.4.1
How do you search for contacts that no memberships?
February 22, 2012, 07:26:32 am
I was hoping to go through our contacts that have no membership attached and reach out to them. I can't figure out a good way to find any contact that has no membership records attached.

Ideas?

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 do you search for contacts that no memberships?
February 22, 2012, 10:08:10 am
One option
- create a Group of 'all members'
- create a Group of 'all contacts'

go to Custom Search - under Contacts

Find the 'in Group X not in Group Y' search and give it a whirl

(names may not be exact)
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

MulderDSM

  • I post occasionally
  • **
  • Posts: 100
  • Karma: 0
  • CiviCRM version: 4.6.0
  • CMS version: Joomla 3.4.1
Re: How do you search for contacts that no memberships?
February 22, 2012, 12:01:33 pm
Quote from: petednz on February 22, 2012, 10:08:10 am
One option
- create a Group of 'all members'
- create a Group of 'all contacts'

go to Custom Search - under Contacts

Find the 'in Group X not in Group Y' search and give it a whirl

(names may not be exact)

Thanks, I have two smart groups, one for all members and one for all contacts. I don't see any "Custom Search" under Contacts drop down in CiviCRM 4.0.5 with Joomla. Is that option in a different version?


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 do you search for contacts that no memberships?
February 22, 2012, 12:03:37 pm
My bad- i should have said under SEARCH of course eg on Drupal Demo

http://drupal.demo.civicrm.org/civicrm/contact/search/custom?csid=4&reset=1

at

http://drupal.demo.civicrm.org/civicrm/contact/search/custom/list?reset=1

sorry to put you wrong
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

MulderDSM

  • I post occasionally
  • **
  • Posts: 100
  • Karma: 0
  • CiviCRM version: 4.6.0
  • CMS version: Joomla 3.4.1
Re: How do you search for contacts that no memberships?
February 22, 2012, 01:00:38 pm
Thanks I was able to get it now!

joshstuart

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 2
    • ACORN Canada
  • CiviCRM version: 4.0
  • CMS version: Joomla 1.6
Re: How do you search for contacts that no memberships?
February 29, 2012, 03:49:52 pm
If I'm not mistaken in search builder you can query 'Membership ID = Is Null"... and that should just pull folks with no membership ID (and hence, no membership).

Perry

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: WordPress 3.7.1
  • MySQL version: 5.5.32
  • PHP version: 5.5.26
Re: How do you search for contacts that no memberships?
January 31, 2014, 01:38:17 am
I wonder if this function does not work under WordPress?
All I get is a string of error messages.

Perry

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: WordPress 3.7.1
  • MySQL version: 5.5.32
  • PHP version: 5.5.26
Aha!
January 31, 2014, 02:00:25 am
I tried  the . . .
CiviCRM » Find Contacts » Custom Searches » Include / Exclude Search
. . . option to find contacts who had not been allocated to a group.

There were other helpful options available, too.

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 do you search for contacts that no memberships?
January 31, 2014, 04:25:08 pm
Quote from: Perry on January 31, 2014, 01:38:17 am
I wonder if this function does not work under WordPress?
All I get is a string of error messages.

Have you tested on the WP demo site? This aspect of civi should be CMS agnostic
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

Perry

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: WordPress 3.7.1
  • MySQL version: 5.5.32
  • PHP version: 5.5.26
Re: How do you search for contacts that no memberships?
January 31, 2014, 05:04:52 pm
No, I didn't. After a few tries gave that result, I went
looking for easier alternatives and found the one that
I mentioned in a later post.
(Reply #7 - can't find the post link URL)
« Last Edit: January 31, 2014, 05:08:13 pm by Perry »

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 do you search for contacts that no memberships?
January 31, 2014, 05:09:38 pm
Tested on WP demo and works - nice suggestion josh.
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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • How do you search for contacts that no memberships?

This forum was archived on 2017-11-26.