[Vtigercrm-commits] [vtiger development] #809: Export Contacts SQL Error
vtiger development
vtiger-tickets at vtiger.fosslabs.com
Thu May 18 10:36:56 EDT 2006
#809: Export Contacts SQL Error
------------------------------------------+---------------------------------
Reporter: Ken Lyle <kenlyle at yahoo.com> | Owner: developer
Type: defect | Status: new
Priority: major | Milestone:
Component: vtigercrm | Version: 5.0.0
Keywords: export, contacts, SQL |
------------------------------------------+---------------------------------
From Marketing > Contacts, I tried to Export Contacts, and got this:
Error may be the double comma after 'Processor',
"Error exporting Contacts:
select contactscf.cf_416 'Sports Interest', contactscf.cf_422
'SportsCombo', contactscf.cf_424 'Date of Birth', contactscf.cf_426
'Handedness', contactscf.cf_430 'Language', contactscf.cf_434
'Processor',, contactdetails.*, contactaddress.*, account.accountname
account_name, users.user_name assigned_user_name FROM contactdetails inner
join crmentity on crmentity.crmid=contactdetails.contactid LEFT JOIN users
ON crmentity.smcreatorid=users.id LEFT JOIN account on
contactdetails.accountid=account.accountid left join contactaddress on
contactaddress.contactaddressid=contactdetails.contactid left join
contactscf on contactscf.contactid=contactdetails.contactid where
crmentity.deleted=0 and users.status='Active' Query Failed:select
contactscf.cf_416 'Sports Interest', contactscf.cf_422 'SportsCombo',
contactscf.cf_424 'Date of Birth', contactscf.cf_426 'Handedness',
contactscf.cf_430 'Language', contactscf.cf_434 'Processor',,
contactdetails.*, contactaddress.*, account.accountname account_name,
users.user_name assigned_user_name FROM contactdetails inner join
crmentity on crmentity.crmid=contactdetails.contactid LEFT JOIN users ON
crmentity.smcreatorid=users.id LEFT JOIN account on
contactdetails.accountid=account.accountid left join contactaddress on
contactaddress.contactaddressid=contactdetails.contactid left join
contactscf on contactscf.contactid=contactdetails.contactid where
crmentity.deleted=0 and users.status='Active' ::ADODB error Error
exporting Contacts:
select contactscf.cf_416 'Sports Interest', contactscf.cf_422
'SportsCombo', contactscf.cf_424 'Date of Birth', contactscf.cf_426
'Handedness', contactscf.cf_430 'Language', contactscf.cf_434
'Processor',, contactdetails.*, contactaddress.*, account.accountname
account_name, users.user_name assigned_user_name FROM contactdetails inner
join crmentity on crmentity.crmid=contactdetails.contactid LEFT JOIN users
ON crmentity.smcreatorid=users.id LEFT JOIN account on
contactdetails.accountid=account.accountid left join contactaddress on
contactaddress.contactaddressid=contactdetails.contactid left join
contactscf on contactscf.contactid=contactdetails.contactid where
crmentity.deleted=0 and users.status='Active' Query Failed:select
contactscf.cf_416 'Sports Interest', contactscf.cf_422 'SportsCombo',
contactscf.cf_424 'Date of Birth', contactscf.cf_426 'Handedness',
contactscf.cf_430 'Language', contactscf.cf_434 'Processor',,
contactdetails.*, contactaddress.*, account.accountname account_name,
users.user_name assigned_user_name FROM contactdetails inner join
crmentity on crmentity.crmid=contactdetails.contactid LEFT JOIN users ON
crmentity.smcreatorid=users.id LEFT JOIN account on
contactdetails.accountid=account.accountid left join contactaddress on
contactaddress.contactaddressid=contactdetails.contactid left join
contactscf on contactscf.contactid=contactdetails.contactid where
crmentity.deleted=0 and users.status='Active' ::->You have an error in
your SQL syntax; check the manual that corresponds to your MySQL server
version for the right syntax to use near ' contactdetails.*,
contactaddress.*, ' at line 1"
--
Ticket URL: <http://vtiger.fosslabs.com/cgi-bin/trac.cgi/ticket/809>
vtiger development <http://vtiger.fosslabs.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list