pb for finding DistListItem

  • Thread starter Thread starter Magohamoth
  • Start date Start date
M

Magohamoth

hello,

When i execute this

sFilter = "[Name] = '_LD_TEST'"
Set FDistListItem = FFolderContact.Items.Restrict(sFilter)
If FDistListItem Is Nothing Then
' it doesn't exist
End If

or

sFilter = "[Name] = '_LD_TEST'"
Set FDistListItem = FFolderContact.Items.Find(sFilter)
If FDistListItem Is Nothing Then
' it doesn't exist
End If


i have the message "Name" dosen't "exist ?

How can i find if a DistListItem exist ?

THank's
 
Always use the Object Browser to see what methods, properties and events are
available for any object. For a DistListItem you will see that the property
is DLName.
 
Back
Top