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 (Moderator: Dave Greenberg) »
  • Deleting address fields for all contacts
Pages: [1]

Author Topic: Deleting address fields for all contacts  (Read 984 times)

Palmer

  • Guest
Deleting address fields for all contacts
September 03, 2009, 10:51:17 am
I am relatively new to CiviCRM and have limited tech abilities.  I accidentally imported address information for 1,000 contacts into the work address field instead of the home address field.  Is there a simple way to delete the work addresses for all 1,000 contacts?

Thank you in advance for your assistance.

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: Deleting address fields for all contacts
September 03, 2009, 12:03:11 pm

Not via the UI. You will need to do this directly in mysql. You could also potentially change the location_type_id in the civicrm_address field from Work to Home.

to a large extent this depends on the state of the db etc. might want to try to enlist someone local who is familiar with sql

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

Palmer

  • Guest
Re: Deleting address fields for all contacts
September 03, 2009, 12:09:31 pm
Thank you for the information.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Deleting address fields for all contacts

This forum was archived on 2017-11-26.