|
|
|
|
NotesDocumentNext( Función) Posiciones sobre el Document encontradas después del actual Document en Lotus Notes. Este Document se convierte en el actual Document. En la mayoría de los casos, NotesDocumentNext se utiliza en un bucle de lectura con NotasDocumentoPrimero. // 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") ... // Read the first document NotesDocumentFirst(SessionID) // 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
Sintaxis
<Result> = NotesDocumentNext(<Session identifier>)
<Result>: booleano - True si se leyó el siguiente documento,
- 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. Componente: wd290mess.dll
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|