D
Doreen
I've created a custom Contact form, I have data that needs to go in two
custom fields. I took the macro from here:
http://www.outlookcode.com/d/code/convertfields.htm and it converts the
imported contacts to the RequiredForm that I want to use, but I can't get it
to put my data into the custom fields.
Any ideas what I'm doing wrong? My custom fields are FollowUpField and
TypeContactField. When I import the data, I map them to user1 and user2.
This is the part of the macro that I changed to fit my data:
objItem.MessageClass = "IPM.Contact.RequiredForm"
' copy data to your custom fields
objItem.UserProperties("FollowUpField") = objItem.User1
objItem.UserProperties("TypeContactField") = objItem.User2
objItem.UserProperties("Custom3") = objItem.User3
objItem.UserProperties("Custom4") = objItem.User4
objItem.User1 = ""
objItem.User2 = ""
objItem.User3 = ""
objItem.User4 = ""
objItem.Save
Any help would be greatly appreciated. Thanks!
Doreen
custom fields. I took the macro from here:
http://www.outlookcode.com/d/code/convertfields.htm and it converts the
imported contacts to the RequiredForm that I want to use, but I can't get it
to put my data into the custom fields.
Any ideas what I'm doing wrong? My custom fields are FollowUpField and
TypeContactField. When I import the data, I map them to user1 and user2.
This is the part of the macro that I changed to fit my data:
objItem.MessageClass = "IPM.Contact.RequiredForm"
' copy data to your custom fields
objItem.UserProperties("FollowUpField") = objItem.User1
objItem.UserProperties("TypeContactField") = objItem.User2
objItem.UserProperties("Custom3") = objItem.User3
objItem.UserProperties("Custom4") = objItem.User4
objItem.User1 = ""
objItem.User2 = ""
objItem.User3 = ""
objItem.User4 = ""
objItem.Save
Any help would be greatly appreciated. Thanks!
Doreen