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) »
  • Using IN operator to search for membership type and membership status
Pages: [1]

Author Topic: Using IN operator to search for membership type and membership status  (Read 976 times)

Tonyf

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Using IN operator to search for membership type and membership status
December 20, 2008, 02:10:03 am
I've found that the search builder doesn't allow me to search for multiple values for the membership type and membership status fields.

So
membership->membership type-> = -> 5
and
membership->membership type-> = -> 4

work fine, but
membership->membership type-> IN -> (4,5)
generates a warning
"Please correct the following errors in the form fields below:    * Please enter valid value."

Somewhat unpredictably it sometimes also generates a list of a membership type, e.g. after trying out the =4 search then the IN (4,5) I got the warning and a list of memberships of type 4.

Is it a difficult job to allow these multiple searches for membership type and membership status? If it is a simple job I might give it a try. :)

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Using IN operator to search for membership type and membership status
December 20, 2008, 03:37:02 am
Currently Search  Builder support for CiviCRM components is minimal. I think for your use case you can use Find Member search.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Using IN operator to search for membership type and membership status

This forum was archived on 2017-11-26.