Is there a way of getting reference to the record selected in a list view of a SalesLogix group? For example if I create a contact group of all contacts with a response to a campaign (joining the targetresponse table) and select one record, will I be able to get the targetresponseid so that I can highlight that particular targetresponse record in a tab. In other words is there a way of storing globally the .GetCurrentField(“A3_TARGETRESPONSEID”) of a contact group?
Use following code:
For i = 0 To Application.MainViews.ActiveView.GroupsPane.Selection.Count – 1
strTargetResponseID = Application.MainViews.ActiveView.GroupsPane.Selection.Item(i)