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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Membership type in Contact report
Pages: [1]

Author Topic: Membership type in Contact report  (Read 4061 times)

crayon

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 1
  • CiviCRM version: 3.3.6
  • CMS version: Drupal 6.2
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Membership type in Contact report
December 10, 2007, 07:03:58 pm
Is there a way to get the Membership Type from the Contact Search as a field to export with the other contact info?  I know I can do an advanced search on Membership Type, but I would like it in an exportable field with everything else.

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: Membership type in Contact report
December 10, 2007, 07:43:07 pm

Short answer, no.

One work around involves a little Excel magic with the VLOOKUP formula.

Download your target contact list. Make sure to include the contact ID. It is called "Internal Contact ID" in the contact export.
Download your entire membership list. Make sure to include the contact ID. It is called "Contact ID" in the membership export.

Create an excel workbook with these two downloads as sheets.

Inserts a column in your contact list that uses the VLOOKUP command to populate the membership type based on the contact ID. Excel help for VLOOKUP should get you started. Basically you match the "Internal Contact ID" with the "Contact ID" and return the value in the membership column.

I suspect this might be on the list for 2.0.
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Membership type in Contact report
December 11, 2007, 12:20:27 am
If you can expose port 3306 on your server you could also use this method http://wiki.civicrm.org/confluence/display/CRMDOC/Remote+Access+to+your+DB

In excel choose data / import external data / new database query and use the MySQL ODBC driver. One drawback with this method is that you don't really want to expose the port to multiple IP addresses.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Membership type in Contact report
December 12, 2007, 07:00:18 pm
Quote from: chartglass on December 10, 2007, 07:03:58 pm
Is there a way to get the Membership Type from the Contact Search as a field to export with the other contact info?  I know I can do an advanced search on Membership Type, but I would like it in an exportable field with everything else.

Have you tried using Find Members >> Export from the CiviMember sub-menu (http://demo.civicrm.org/drupal/civicrm/member/search?reset=1 on the demo). The export gives you basic contact info as well as complete membership info (including membership type).
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Membership type in Contact report

This forum was archived on 2017-11-26.