|
|
|
|
NotesDocumentPrevious( Función) Posiciones sobre la Document encontrada antes de la actual Document en Lotus Notes. Este Document se convierte en el actual Document. En la mayoría de los casos, NotesDocumentPrevious se utiliza en un bucle de lectura con NotasDocumentoÚltimo. // 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 last document NotesDocumentLast(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")) // Previous document found NotesDocumentPrevious(SessionID) END
Sintaxis
<Result> = NotesDocumentPrevious(<Session identifier>)
<Result>: booleano - True se se leyó el documento anterior,
- 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|