Jeff T. Richard
08-11-1999, 09:37 AM
The following snippet of code generates the MAPI error, MAPI_E_NOT_FOUND, when an attempt is made to access the Title (&H3A17001E) for the specified user in the Global Address List:
set oSession = CreateObject("MAPI.Session")
oSession.Logon "", "", False, False, 0
set oAddrEntry = oSession.AddressLists("Global Address List").AddressEntriese("Richard, Jeff")
MsgBox "AddrEntry: " & oAddrEntry.Name
MsgBox "Title: " & oAddrEntry.Fields(&H3A17001E).Value
Do you have to explicitly "export" fields found in an address book for reference by CDO?
Jeff.
set oSession = CreateObject("MAPI.Session")
oSession.Logon "", "", False, False, 0
set oAddrEntry = oSession.AddressLists("Global Address List").AddressEntriese("Richard, Jeff")
MsgBox "AddrEntry: " & oAddrEntry.Name
MsgBox "Title: " & oAddrEntry.Fields(&H3A17001E).Value
Do you have to explicitly "export" fields found in an address book for reference by CDO?
Jeff.