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) »
  • Searching for things with any of several traits
Pages: [1]

Author Topic: Searching for things with any of several traits  (Read 896 times)

bchoc

  • Guest
Searching for things with any of several traits
August 14, 2008, 03:11:52 pm
I'm wondering if there's an efficient way to generate a list of contacts based on having one of a list of traits.

I've read through the Search Builder document, and the "IN" comparison seems almost right, but it appears to be limited to a very few fields.  How could one query if an address is in, for example, Seattle or Tacoma or Bellevue.

For three items like that, it would be easy to just add three separate "also include" sections, but if you have 10 or 20 or 30 cities, that would get really tedious really quickly.

And I don't suppose we have geolocation searches yet?  :)

Brian  (Civi 2.0, btw) 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Searching for things with any of several traits
August 14, 2008, 03:29:32 pm

custom search is your best bet for the below case

proximity/geolocation search as a custom search is in 2.1: http://sandbox.civicrm.org/civicrm/contact/search/custom?csid=6&reset=1

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Searching for things with any of several traits

This forum was archived on 2017-11-26.