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 Import (Moderator: Yashodha Chaku) »
  • How do you convert an Individual record to a Household record?
Pages: [1] 2

Author Topic: How do you convert an Individual record to a Household record?  (Read 4869 times)

BE55Roberts

  • Guest
How do you convert an Individual record to a Household record?
June 07, 2010, 02:11:34 am
Is there a way to convert an Individual record to a Household record? I've imported some records that were intended to be Households, but came in as Individuals. I'd like to change them to correct that. I tried editing them one at a time, but the edit screen does not allow you to "promote" an Individual to Household type. I infer that I could arbitrarily do this through phpMyAdmin, but is the following sufficient?

1. Update the civicrm_contact record by changing the contact_type to Household and copying the display_name to household_name.

Seems like if it was that easy, the edit screen would allow it. Is there an issue with this update process? I guess another approach would be to export the records as Individuals that I am interested in, then import them back as Households, but then I would have 3 records all with the same name.

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 you convert an Individual record to a Household record?
June 07, 2010, 02:42:52 am
Quote
Is there a way to convert an Individual record to a Household record?
Nope.

Quote
1. Update the civicrm_contact record by changing the contact_type to Household and copying the display_name to household_name
This should work. But I would recommend deleting these household records and then re-importing them as individuals.

HTh
Kurund
Found this reply helpful? Support CiviCRM

Sean Madsen

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 5
  • CiviCRM implementer/developer
    • Bikes Not Bombs
  • CiviCRM version: 4.6
  • CMS version: Drupal 7
Re: How do you convert an Individual record to a Household record?
October 11, 2010, 01:08:59 pm
Another way is to MERGE the individual record into a new household record...

1) Create a new household with the desired household name.

2) Note the "contact id" values for the individual and for the newly create household. (You can find this "contact id" value at the bottom of the screen when viewing the contact where it says something like "CiviCRM ID: 2345". Also this id value is in the URL of the page where you view the contact.)

3) Manually navigate to this URL where you will merge the two contacts. In this URL you will have to replace "HOUSEHOLDID" with the id value for the newly create household and replace "INDIVIDUALID" with the id for your individual.
    http://example.com/civicrm/contact/merge?reset=1&cid=HOUSEHOLDID&oid=INDIVIDUALID&action=update&rgid=7

4) Check all boxes and merge the individual into the household.

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 convert an Individual record to a Household record?
October 11, 2010, 01:18:16 pm
Sean - can you confirm having merged different Contact Types?
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

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: How do you convert an Individual record to a Household record?
October 02, 2012, 03:51:29 pm
I'll be darned.   This does work.  AWESOME.

Learn something new every day.  It even moves over emails, phone, addresses, and contributions (that's all I tested thus far).   I doubt this will work merging households into individuals.

Try CiviTeacher: the online video tutorial CiviCRM learning library.

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: How do you convert an Individual record to a Household record?
October 02, 2012, 04:55:31 pm

is this a bug or a feature?

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

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: How do you convert an Individual record to a Household record?
October 03, 2012, 02:48:41 am
I think its a beature, or maybe a fug.

Might be good to add a warning when contact types do not match.  I wonder what happens when you merge two contacts with different SUB types.
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

katesneed

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Wordpress
  • MySQL version: 5.5
  • PHP version: 5.4
Re: How do you convert an Individual record to a Household record or vis versa?
August 20, 2014, 12:48:45 pm
Does this still work in 4.4.5. I have a household that got divorced so I want to merge the data from the Household to the Individual Record and am wondering if I can do it using this? Or other suggestions?

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: How do you convert an Individual record to a Household record?
August 20, 2014, 06:30:53 pm
Perhaps it still works.

You should try it out for yourself on a test database to see what happens.

questions

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 2
  • CiviCRM version: 4.4.6
  • CMS version: Durpal, 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: How do you convert an Individual record to a Household record?
September 25, 2014, 04:49:29 pm
It doesn't work.

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 convert an Individual record to a Household record?
October 01, 2014, 04:22:40 pm
Shame. just tested on Demo with merging Org + Ind and got "Selected records must all be the same contact type (i.e. all Individuals)."
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

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: How do you convert an Individual record to a Household record?
October 03, 2014, 01:53:40 am
So the beature died. Time to make it a feature?
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

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 convert an Individual record to a Household record?
October 03, 2014, 02:25:21 pm
I think if we can do it such that there is a very clear warning that this can result in loss of, or at least lost access to, data then it would be a good outcome.
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

katesneed

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Wordpress
  • MySQL version: 5.5
  • PHP version: 5.4
Re: How do you convert an Individual record to a Household record?
October 06, 2014, 10:53:29 am
I think this would be a GREAT feature!

Dan C

  • I post frequently
  • ***
  • Posts: 179
  • Karma: 17
  • CiviCRM version: All
  • CMS version: Joomla 2.5 and 3.X, Drupal 7, Wordpress 3.7 and up
  • MySQL version: 5.1.7 and up
  • PHP version: 5.3.5 and up
Re: How do you convert an Individual record to a Household record?
October 06, 2014, 11:02:03 am
I third (fourth, fifth, whatever) this idea.  I have had several people ask about it (and one find a different workaround accidentally that really screwed up their database).
CrusonWeb - Web Development, Implementation, and Support.  Specializing in CiviCRM and Joomla (although also knowledgable in Wordpress and Drupal as well).

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • How do you convert an Individual record to a Household record?

This forum was archived on 2017-11-26.