Community
Showing results for 
Search instead for 
Do you mean 
Reply

Custom Mail Merge Addon

New Member
Posts: 6
Country: United_Kingdom

Custom Mail Merge Addon

Hi,

I am trying to create my own custom mail merge addon for ACT 2013 and I am having problems with choosing the right Visual Basic command to access the Contact Field Descriptors. My code is below, any help would be greatly appreciated.

Private Sub Merge_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
framework.LogOn(PADFile, ACTUserName, ACTUserPassword)
Dim mergeFields = framework.Contacts.GetFieldDescriptor(name:="TBL_CONTACT", isReal:=True)
Dim mergeFieldsList = framework.Contacts(mergeFields)
framework.LogOff()
Dim mergefieldslb As ComboBox = DirectCast(mergeFieldsList.Items, ComboBox)
mergeFieldsList.DataSource = mergefieldslb.Items()
End Sub