|
|
|
|
NotesDocumentSeek( Función) Busca un Document en Lotus Notes. // Start a Lotus Notes session SessionID is int SessionID = EmailStartNotesSession("Password", "MarsServer", ... "mail\julia.nsf", "C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id") ... // Find the documents containing the "pc soft" string IF NotesDocumentSeek(SessionID, "@contains(@lowercase(categories);'pc soft')") = True THEN // Enumerate the documents found WHILE NotesOut(SessionID) = False // Display the name of the documents in a List Box control ListAdd(LIST_DocumentsFound, NotesItem(SessionID, "Name")) // Next document found NotesDocumentNext(SessionID) END ELSE Info("No document was found") END
Sintaxis
<Result> = NotesDocumentSeek(<Session identifier> , <Lotus Notes formula>)
<Result>: booleano - True si se encontraron uno o varios documentos,
- False en caso contrario. Si se produce un error, la variable ErrorOccurred se pone en True. Para obtener más información sobre el error, utilice la función ErrorInfo con la constante errMessage.
Si no se encontró ningún documento, el valor la variable ErrorOccurred sigue siendo False y la función NotesOut devuelve True.
<Session identifier>: Integro Identificación de la sesión que se va a utilizar. Este identificador es devuelto por EmailStartNotesSession o NotasOpenDatabase. <Lotus Notes formula>: Cadena de caracteres Fórmula para seleccionar los documentos en Lotus Notes. Consulte la documentación sobre Lotus Notes para obtener más detalles. Componente: wd290mess.dll
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|