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 CiviEvent (Moderator: Yashodha Chaku) »
  • export creates duplicates in csv file
Pages: [1]

Author Topic: export creates duplicates in csv file  (Read 813 times)

kathc

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
export creates duplicates in csv file
June 10, 2010, 06:56:29 pm
I need to export the data from an event to create a report that uses custom fields for sorting.  When I Find Participants, I get 424, but the exported csv file contains 482 records.  If I search for contacts, and export (without the participant fields) the csv file has the correct number of records.  When I look at the duplicate records, they have the same contact ID and participant ID, so the records aren't being duplicated, although I had problems with the event being added multiple times in import before upgrading to v3.1.4.  However, some of them have a participant note that is only exported once, and some are in the export file three times.   

Any ideas would be appreciated. 

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: export creates duplicates in csv file
June 10, 2010, 07:31:15 pm

if u look at the 2 rows that are duplicated, are there any fields that they differ in? if so, what fields. you might want to check those rows  carefully :)

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

kathc

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Re: export creates duplicates in csv file
June 11, 2010, 07:45:32 am
A few of them have a Participant Note that only shows up once, but only 8 out of the 58 duplicated rows have this additional information.  In reviewing the records for those participants, they do seem to all have changed Participant Status or Role (we have roles of Delegate, Observer, Alternate; and Status of Registered, Cancelled and Invited) and the records I've reviewed had changed from Invited to Registered and some then to Cancelled, or from Alternate or Observer to Registered.

When I imported these, several records were replicated multiple times, but a new Participant ID was added, so it was easy to go in and clean out the extras, but these are not the same records that happened with.

The export works fine when I'm doing an Advanced Search and exporting only the contact fields, but when I add in the Event fields, I get the extra lines.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • export creates duplicates in csv file

This forum was archived on 2017-11-26.