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 CiviEvent (Moderator: Yashodha Chaku) »
  • Custom Field Display By Administrator
Pages: [1]

Author Topic: Custom Field Display By Administrator  (Read 1379 times)

no1tmorrow

  • Guest
Custom Field Display By Administrator
January 16, 2009, 06:13:04 am
So I created an event with a few custom registration fields. Now it is time for the event (tomorrow) and I wanted to print a registration list that had the custom fields on it (one of them was a team name which I need). I don't see a way to display it. I even looked in mysql to see if the data was stored somewhere that I could pull up the data with a query and print it. Please help me!!!!

Thanks
Thom

no1tmorrow

  • Guest
Re: Custom Field Display By Administrator
January 16, 2009, 06:33:01 am
Looks like I am getting close now. Just an update.

SELECT a.id,a.display_name,a.birth_date,c.contact_id,c.street_address,c.city,c.name FROM civicrm_contact a inner join civicrm_address c on a.id = c.contact_id where c.is_primary = 1

civicrm_address has my custom fields in it.


Thanks
Thom
« Last Edit: January 16, 2009, 06:38:23 am by no1tmorrow »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Custom Field Display By Administrator
January 16, 2009, 07:01:18 am
If I was you, I would just use Export Participant Feature. Find Participant , then search for your event. Then using task action Export Participants >> Select Fields. export data which can be opened in spreadsheet / excel :)

HTh

Kurund
Found this reply helpful? Support CiviCRM

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Custom Field Display By Administrator
January 16, 2009, 11:31:06 am
Quote from: no1tmorrow on January 16, 2009, 06:33:01 am
civicrm_address has my custom fields in it.

Thom - Export probably is your easiest option (as Kurund suggests). However if you want to go the SQL query route AND you setup your custom fields through the admin interface - then the custom field data should be in a table named civicrm_value_<your custom field group name>. The entity_id column is the foreign key - for custom fields extending Participant, should be the civicrm_participant.id value.
« Last Edit: January 16, 2009, 12:03:15 pm by Kurund Jalmi »
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Custom Field Display By Administrator

This forum was archived on 2017-11-26.