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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • The use of CSV files for importing data
Pages: [1]

Author Topic: The use of CSV files for importing data  (Read 1731 times)

mathran

  • Guest
The use of CSV files for importing data
February 05, 2008, 12:12:11 pm
Hello,

When I import data, I use a csv file.
The separation mark should be a comma. >,<
But in europe/netherlands excel creates by default a semi-colon >;<

Is it possible to change some configuration so that the import will work with a comma >,< ?

Thanks a lot,
Martin

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: The use of CSV files for importing data
February 05, 2008, 03:16:47 pm

check: http://www.php.net/manual/en/function.fgetcsv.php

You will need to fix CRM/Import/Parser.php, function run (line 259) and change the default separator for your needs

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

mathran

  • Guest
Re: The use of CSV files for importing data
February 26, 2008, 04:42:41 am
Thanks  ;D

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • The use of CSV files for importing data

This forum was archived on 2017-11-26.