Results 1 to 4 of 4

Thread: I imported the wrong address

  1. #1
    SugarTyler is offline Junior Member
    Join Date
    Jun 2007
    Posts
    2

    Default I imported the wrong address

    I imported about 50 leads with the wrong address. I now have a CSV file with the correct address and I wanted to re import the leads by associating the leads to the "ID" field It didn't work because it said that the ID already exsisted. Is it possible to reimport to mass update information or do I need to fix this manually?

    -tyler
    xp
    Version 4.5.0f (Build 1202)
    Webserver ?
    PHP ?
    MySQL ?

  2. #2
    sbantz is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    52

    Default Re: I imported the wrong address

    If they are just leads and your users haven't done anything with them yet, why not delete them all and reimport your new file? You could do an update query directly on the database, but you'd need the ODBC driver and some patience. There is no way to update existing records with another import. I guess your other option is not not match the ID (to avoid skipping) and just import the fixed records, later merging them with the existing ones. That's a pain, though.
    Last edited by sbantz; 2007-10-16 at 12:21 AM.

  3. #3
    SugarTyler is offline Junior Member
    Join Date
    Jun 2007
    Posts
    2

    Default Re: I imported the wrong address

    I should have mentioned that these records have already had many calls and meetings associated to them.

    I got the problem fixed by accessing the database directly. I had to ask my tech to help, alright the tech did it and I stood behind and watched. but its fixed now. We just queried the leads and Manually made the changes to the address. I went alot faster than doing one at a time from within sugar. I was lucky that I only made this mistake with 50 leads, there is no way we would have fixed it if it was a higher count. What could I have done if there were much more than 50?

  4. #4
    sbantz is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    52

    Default Re: I imported the wrong address

    Quote Originally Posted by SugarTyler
    I should have mentioned that these records have already had many calls and meetings associated to them.

    I got the problem fixed by accessing the database directly. I had to ask my tech to help, alright the tech did it and I stood behind and watched. but its fixed now. We just queried the leads and Manually made the changes to the address. I went alot faster than doing one at a time from within sugar. I was lucky that I only made this mistake with 50 leads, there is no way we would have fixed it if it was a higher count. What could I have done if there were much more than 50?
    If you were in a pinch with a lot more records, you could use MS Access, the mySQL ODBC driver, and an update query to change this info. When I migrated from MS Sharepoint to Sugar, I had forgotten the website field in the import. There were a few thousand accounts. I used an update query to match on account name and then fill in the website address from the second "correct" export csv file from Sharepoint.

    If you EVER mess with update queries, TEST TEST TEST. One wrong move and your users could end up without a system. That's precisely why I have a test sugar server in addition to production.
    Last edited by sbantz; 2007-10-18 at 06:43 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Statsgraph 1.0 for SugarCRM 4.5
    By tfrebault in forum Downloads
    Replies: 63
    Last Post: 2009-10-06, 03:15 AM
  2. Module with no SubPanels
    By dop3 in forum Developer Help
    Replies: 3
    Last Post: 2008-06-29, 06:24 PM
  3. exporting enum custom fields
    By dricrm in forum Developer Help
    Replies: 0
    Last Post: 2007-07-18, 04:41 PM
  4. Invalid Value: Other Email, wrong address Format
    By macnetixBenny in forum Help
    Replies: 0
    Last Post: 2007-04-17, 08:16 AM
  5. Sourcing custom fields in Email Template
    By damocles in forum Developer Help
    Replies: 4
    Last Post: 2006-10-29, 02:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •