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 CiviContribute (Moderator: Donald Lobo) »
  • Wildcards in custom data search
Pages: [1]

Author Topic: Wildcards in custom data search  (Read 1723 times)

greenyoga

  • I’m new here
  • *
  • Posts: 27
  • Karma: 2
Wildcards in custom data search
February 28, 2011, 08:51:11 am
We have a custom data field that is used for contributions that helps us track batches of thank you letters generated. 

There are two searches that we would like to be able to do in Find Contributions search function
civicrm/contribute/search&reset=1

1 - Search where this field is empty

2 - Search using wildcards

Are either of these possible?

fen

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 13
    • CivicActions
  • CiviCRM version: 3.3-4.3
  • CMS version: Drupal 6/7
  • MySQL version: 5.1/5.5
  • PHP version: 5.3/5.4
Re: Wildcards in custom data search
February 28, 2011, 10:14:14 am
Use '%' (a percent sign) as a wildcard

I don't know how to search is a field is empty...

dschafer

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 3
    • Backoffice Thinking
  • CiviCRM version: 3.2.3 - 4.4.4
  • CMS version: Drupal 6.x, 7.x, Wordpress
  • MySQL version: 5.1.x - 5.5.x
  • PHP version: 5.2.x - 5.4.x
Re: Wildcards in custom data search
August 17, 2011, 03:24:51 am
In case this hasn't been answered.

To fine an empty field use custom search. 

Use the "IS NULL" condition on the field in question.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Wildcards in custom data search

This forum was archived on 2017-11-26.