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 Profiles (Moderator: Dave Greenberg) »
  • How Do I Globally Update a Custom Yes/No field to Unselect?
Pages: [1]

Author Topic: How Do I Globally Update a Custom Yes/No field to Unselect?  (Read 2248 times)

annaleevk

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 3
  • Carpe Noctem!
    • Women in Development, New York
  • CiviCRM version: 3.4.5
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.48
  • PHP version: 5.2.14
How Do I Globally Update a Custom Yes/No field to Unselect?
December 05, 2009, 10:23:14 am
Hello.  We need to update a previously coded yes/no custom field to unselect.  Is there a way to do this globally? I have 871 records that were coded as NO and I want to unselect this value so I can manually code them based on a postcard mailing we sent.

I tried using batch update for this with a profile but my only choices are yes or no.

Thanks,
Annalee
Annalee Van Kleeck
Lyric Systems, LLC
201 951.8711
annalee@lyricsystems.com

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: How Do I Globally Update a Custom Yes/No field to Unselect?
December 06, 2009, 11:37:25 pm
Can't you just export those 871 records and then re-import then in  update mode with custom data set to  No.

Kurund
Found this reply helpful? Support CiviCRM

annaleevk

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 3
  • Carpe Noctem!
    • Women in Development, New York
  • CiviCRM version: 3.4.5
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.48
  • PHP version: 5.2.14
Re: How Do I Globally Update a Custom Yes/No field to Unselect?
December 07, 2009, 03:56:45 am
Nope.  Because NO means something else.  Basically, the YES/NO flag is a Go Paperless question.  YES = Email List group and NO = Mailing List group. 

I did fix it though.  The resolution was that I had to run an update SQL statement for all records where the value was 0 and set it to NULL but it would be nice if I did not have to. 

If Batch Update by Profile would allow the UNSELECT option (NULL), then I would not have had to go fishing in the backend.

Thanks,
Annalee
Annalee Van Kleeck
Lyric Systems, LLC
201 951.8711
annalee@lyricsystems.com

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: How Do I Globally Update a Custom Yes/No field to Unselect?
December 07, 2009, 12:28:47 pm
This does seem like a "missing feature". I've posted an issue for 3.2 to remedy it:
http://issues.civicrm.org/jira/browse/CRM-5506
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • How Do I Globally Update a Custom Yes/No field to Unselect?

This forum was archived on 2017-11-26.