Name matching

Hi,

I have to build a lotusscript function which receive at least a lastname or a firstname and must find and return the matching name in adress book.

What is the best way to deal with that ?

thanks a lot in advance for your help or advice.

Luc

Subject: name matching

You need the NotesSession.CreateName method. Try this:

dim s as new notessession

dim doc as notesDocument

dim n as NotesName

set n = s.createName(doc.firstName&" "&doc.lastname)

Hope this helps… Once you have a NotesName, everything’s easier to look up and such…