How to get the property value that chaneged in Outlok Inspector Ob

G

Guest

Here is one query that I have for the way Outlook Inspector object works.

Below are the sequences of steps:

1. User clicks on a Contact Item to open it.

2. Inspector New event will fire and new contact item is created Within New
(Constructor) we modify the underlying data for that item say change the
First Name (using myItem.PropertyName=<New Value> where myItem is a new
Contact Item that we created using code like:
myItems = m_ContactFolder.Items

myItem = myItems.Find("[AppID] = '" & strAppID & "'")

3. Then the Inspector Open event will fire and when the item gets displayed
it shows the old value in the First Name Field, however in the explorer
window we can see that the value is changed.

The question is how do we make sure that we see the changes that we have
made while in the New Inspector in to the form when it opens?

Thanks,
Rupang
 
K

Ken Slovak - [MVP - Outlook]

Don't use NewInspector for that. Use the first Activate event. Some things
aren't initialized in an Inspector until the first Activate.
 

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