Results 1 to 3 of 3

Thread: Update via MySQL

  1. #1
    papeter is offline Member
    Join Date
    Apr 2007
    Posts
    8

    Question Update via MySQL

    Hi all,
    I am trying to import a large number of companies into the accounts table with MySql. This all worked fine, and in the frontend I can see my data coming back, all records/ companies loaded perfectly except the field Industry.

    So I changed all the items in the Industry dropdown to whatever files are in my source table (15 different items) and created an update query. Unfortenately the field still won't accept any data.

    Does anybody know how to fix this?

    Thanks,
    Peter

  2. #2
    sacramentojoe is offline Sugar Community Member
    Join Date
    Nov 2005
    Posts
    447

    Default Re: Update via MySQL

    Well, if you ask me, sounds like your industry Drop down is a custom field, which means you should be updating the custom table right?

    You need to make sure that your Keys in the dropdown match the values being saved in the DB on the backend.

  3. #3
    papeter is offline Member
    Join Date
    Apr 2007
    Posts
    8

    Default Re: Update via MySQL

    Thanks, it worked.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 2007-11-13, 02:51 PM
  2. MySQL Database Not Available
    By luisamato in forum Help
    Replies: 4
    Last Post: 2007-06-27, 05:58 AM
  3. Huge backups -- normal?
    By Liam in forum Help
    Replies: 5
    Last Post: 2007-05-02, 05:36 AM
  4. Replies: 7
    Last Post: 2007-02-14, 03:48 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
  •