Is there a way of getting reference to the record selected in a list view of a SalesLogix group?

Question:

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?

Answer:

Use following code:
For i = 0 To Application.MainViews.ActiveView.GroupsPane.Selection.Count – 1
strTargetResponseID = Application.MainViews.ActiveView.GroupsPane.Selection.Item(i)

Next

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) news and product updates!

You have Successfully Subscribed!