Results 1 to 2 of 2

Thread: MySQL error 1054: unknown accounts_leads.id column

  1. #1
    yizzung is offline Member
    Join Date
    Nov 2008
    Posts
    17

    Default MySQL error 1054: unknown accounts_leads.id column

    Trying to run a report on leads in the database. We track whether or not someone wants to download a trial version of our software, so that's my criteria here. The report runs fine so long as I don't care to include "Account Name" in the output. When I add "Account Name" to the display columns, I get the following error:

    Error executing query Query Failed:SELECT accounts_leads.id primaryid ,accounts_leads.account_name accounts_leads_account_name ,leads.first_name leads_first_name ,leads.last_name leads_last_name ,leads.lead_source leads_lead_source FROM leads LEFT JOIN leads_cstm leads_cstm ON leads.id = leads_cstm.id_c WHERE (((leads_cstm.interest_in_trial_c LIKE 'on' OR leads_cstm.interest_in_trial_c='1') )) AND leads.deleted=0 LIMIT 0,100::MySQL error 1054: Unknown column 'accounts_leads.id' in 'field list'

    Seems odd that the interface will allow me to select a column while building a report but then can't find the column when running the query...

    We're using Sugar Enterprise: Version 5.1.0b (Build 4905).

    Thanks in advance.

  2. #2
    sugarcrmster is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    239

    Default Re: MySQL error 1054: unknown accounts_leads.id column

    I can Fix Your Mysql Error in Report

    You can mail me sugarcrm.master@gmail.com

    Or sugarcrmster@gmail.com

    You have to change small code that i will provide you

    Thanks

    Regards

    Sugarcrm Developer

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Manually drop scheme (5.0 upgrade) ?
    By niallhannon in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-01-07, 05:41 PM
  2. Replies: 5
    Last Post: 2007-11-13, 02:51 PM
  3. Huge backups -- normal?
    By Liam in forum Help
    Replies: 5
    Last Post: 2007-05-02, 05:36 AM
  4. Replies: 1
    Last Post: 2006-09-11, 03:38 PM
  5. SugarCrm 4.0 Patch
    By mgamboa in forum General Discussion
    Replies: 0
    Last Post: 2005-12-21, 04:14 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
  •