Author Topic: PCAB_GetListOfValues returns no name for Companies  (Read 1648 times)

john.christopher

  • Member
  • *
  • Posts: 8
PCAB_GetListOfValues returns no name for Companies
« on: December 10, 2013, 01:53:55 PM »
The following function:
Code: [Select]
PCAB_GetListOfValues ( "Group" ; "Members" ; "UID" )returns names for people, but not for companies.  In a group of mixed people and businesses, entries for businesses are blank.  I would expect a card marked "ShowAsCompany" to return the Company name.

Jerel Malong

  • Global Moderator
  • Member
  • *****
  • Posts: 97
Re: PCAB_GetListOfValues returns no name for Companies
« Reply #1 on: January 17, 2014, 08:41:11 AM »
What results are you getting when this is passed?

john.christopher

  • Member
  • *
  • Posts: 8
Re: PCAB_GetListOfValues returns no name for Companies
« Reply #2 on: January 20, 2014, 03:11:28 PM »
If I have an address book group like this:
  • Person: John Doe
  • Company: John Doe's Doughnut Shop
  • Person: Frank Smith
  • Company: USAA Federal Savings Bank

Then the corresponding result from PCAB_GetListOfValues is:

Code: [Select]
John Doe

Frank Smith



Note that if I provide person contact details for the companies, I'll see the person contact details.  If the contact only has a company name, I see a blank line.

Jerel Malong

  • Global Moderator
  • Member
  • *****
  • Posts: 97
Re: PCAB_GetListOfValues returns no name for Companies
« Reply #3 on: January 20, 2014, 03:50:18 PM »
You need to open the group record first to see the desired list. See attached screenshot.

Hope this helps.