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) »
  • Export Parent and Children Names
Pages: [1]

Author Topic: Export Parent and Children Names  (Read 531 times)

superhua

  • I’m new here
  • *
  • Posts: 14
  • Karma: 1
  • CiviCRM version: 4.5.3
  • CMS version: Drupal 7.32
  • MySQL version: 5.5.29
  • PHP version: 5.4.10
Export Parent and Children Names
February 24, 2013, 06:27:23 pm
How does one export a list of parents and children?

That is, I do an advanced search and find the desired records. Then I export the parent and child name by including the following fields:

Individual > First Name
Individual > Parent of > First Name

But this only exports the name of one of the children -- not all.

How can I export the names of all the children?

Many thanks!

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: Export Parent and Children Names
February 24, 2013, 06:42:57 pm
think you need to think from the childrens end

so get a search result that shows you

1 row for each child - and who their parent is

then in your export you use the 'relationship of .... parent of, display name' or somesuch to get your export.

or try it from the Relationship report

hth
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

superhua

  • I’m new here
  • *
  • Posts: 14
  • Karma: 1
  • CiviCRM version: 4.5.3
  • CMS version: Drupal 7.32
  • MySQL version: 5.5.29
  • PHP version: 5.4.10
Re: Export Parent and Children Names
February 24, 2013, 07:51:19 pm
Thank you.

Starting with the children and exporting using the "Individual > Child of > First Name" did indeed list all of the children, but then only listed one of the parents.

The relationship report listed all of the information (all children; all parents), but on separate lines and without other data (like phone number) that could be listed in an export.

I'll need to keep thinking about this; thank you again!

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: Export Parent and Children Names
February 25, 2013, 12:49:22 am
if you are on drupal you could also look at getting this out via a View in case that helps
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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Export Parent and Children Names

This forum was archived on 2017-11-26.