Community
Showing results for 
Search instead for 
Do you mean 
Reply

Retrieving Contacts in a group

Astute Commentator
Posts: 168
Country: United States

Retrieving Contacts in a group

Hi Everyone,

 

This piece of code used to work fine on all version of ACT! until V14. Now, if you retrieve contacts for a group, then contact list is always 0, no matter whether the group is dynamic, static, or both. Does anyone know what the deal is here?

 

I've attached a piece of code.

 

Thanx in advance.

 

T

-----------------------------------------

 

 

Dim GroupLists As Act.Framework.Groups.GroupList
Dim GroupList As Act.Framework.Groups.Group = Nothing

 

GroupLists = ACTFM.Groups.GetGroupsByID(Nothing, CID)

 

 GroupList = GroupLists.Item(0)
 ACT_Contact_List = GroupList.GetContacts(Nothing)  ' The ACT_Contact_List is always ZERO!

 

Employee
Posts: 1,163
Country: USA

Re: Retrieving Contacts in a group

I was not able to reproduce, my contact list conained contacts, I tested against the Gold build that will be coming out soon are you testing against the beta build?

Matthew Wood
Act! SDK Support
Community Moderator