Hi,
I'm in an Outlook Form. I want to log a new Contact in a form ("IPM.Contact.Account contact" and put it in a sub-folder and then set some of the fields within the Contact record based on data in the form I'm in.
I create the form OK by using ....
Set oCurrentFolder = Application.ActiveExplorer.CurrentFolder
Set oContactsFolder = oCurrentFolder.Folders("Customer Contacts"
Set Contacts = oContactsFolder.Items
Set NewContact = Contacts.Add("IPM.Contact.Account contact"
NewContact.Display(True)
Where I get stuck is how to put data in the new form. I started...
Set ContactCustomer = UserProperties.Find("Customer"
Newcontact.Company = ContactCustomer
... but this is wrong.
Ideas?
Thanks
I'm in an Outlook Form. I want to log a new Contact in a form ("IPM.Contact.Account contact" and put it in a sub-folder and then set some of the fields within the Contact record based on data in the form I'm in.
I create the form OK by using ....
Set oCurrentFolder = Application.ActiveExplorer.CurrentFolder
Set oContactsFolder = oCurrentFolder.Folders("Customer Contacts"
Set Contacts = oContactsFolder.Items
Set NewContact = Contacts.Add("IPM.Contact.Account contact"
NewContact.Display(True)
Where I get stuck is how to put data in the new form. I started...
Set ContactCustomer = UserProperties.Find("Customer"
Newcontact.Company = ContactCustomer
... but this is wrong.
Ideas?
Thanks