Custom Contact Phone Selectors

J

Jacquie

I have written a VB.NET application that imports SQL Server 2000
contact information into Outlook. I created an Outlook Custom Contact
Form that has the 8 Phone Selected/Selector fields on it. The VB Code
that assigns the contact phone numbers is as follows:

oitmCurr = ofldContacts.Items.Add
oitmCurr.UserProperties.Item("Phone 1 Selected").Value = "(123)
456-7890"
oitmCurr.UserProperties.Item("Phone 1 Selector").Value = "Business
Fax"

etc., etc.

After I have added the contacts to Outlook, and I click on the folder
that I put them in, I see the 'quick view' of the contacts (one full
screen of ~15 contacts) with information such as name, address, and a
few phone numbers. The phone numbers here are listed correctly with
the appropriate corresponding selectors. When I open the contact (in
the custom form) however, the form labels for the selectors are always
the same (Home, Business, Business Fax, Mobile, Radio, Car, Other,
ISDN), and the first 3 Selected (phone number) textboxes are always
blank, so for contacts with more than 5 numbers, 3 are missing.

Does anyone have any suggestions as to what I am missing here? Any
help would be greatly appreciated.

Thanks,

Jacquie
 
J

John Riddle

Try something like:

oitmCurr.BusinessFaxNumber = "(123) 456-7890"
oitmCurr.Save

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top