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 »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Civicrm, Views and Honorees
Pages: [1]

Author Topic: Civicrm, Views and Honorees  (Read 403 times)

mithralsun

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 3.x, 4.x
  • CMS version: Drupal 6.x, 7.x
  • MySQL version: 5.0 and above
  • PHP version: 5.2 and above
Civicrm, Views and Honorees
October 25, 2012, 06:03:38 pm
Hi, I have Drupal 7, Views 3 and Civicrm 4.1.6 and I can't seem to get the honorees to show up in a view with the contributors. Can someone tell me what table the honoree fields are in please.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Civicrm, Views and Honorees
October 25, 2012, 06:07:22 pm
civicrm_contribution has a field honor_contact_id - this is the id of the honoree contact

So you should be aiming for a join like

LEFT JOIN civicrm_contact honor_contact ON honor_contact.id = civicrm_contribution.honor_contact_id
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Civicrm, Views and Honorees

This forum was archived on 2017-11-26.