Searching for documents using the Document Universal ID

Hi there, i am currently trying to build a interface program to access the Lotus Notes interface.

Currently i have no problem retrieving documents. However, i would like to know if there is a way to search and retrieve documents using the document’s Universal ID?

Thanks to everyone in advance for every little bit of information you can provoide.

Subject: Searching for documents using the Document Universal ID

Set notesDocument = notesDatabase.GetDocumentByUNID( unid$ )

Check out the help for more details.

VH

Subject: RE: Searching for documents using the Document Universal ID

Sorry, but i dont seems to find the GetDocumentByUNID function. Are you refering to LNDatabase::GetDocument function?

Suppose if i have the UNID in LNString format, how do i change it to the unid$ format? Because i am working on an interface that process an input by user. As the input by user is normally in LNString. I will need to do the conversion from LNString to unid$ format to use the LNDatabase::GetDocument function.

Oh by the way, thanks for your reply.:slight_smile: