9 59 DOM_CLOSE_DOCUMENT

LANSA Technical

9.59 DOM_CLOSE_DOCUMENT

Þ Note: Built-In Function Rules.

Closes an open document when no longer required to release Notes allocated memory for the document/data note.

Note that this does not write the contents of the document to the database, you must use the DOM_UPDATE_DOCUMENT Built-In Function to update the document to disk.

For use with

LANSA for i

YES

Visual LANSA for Windows

YES

Visual LANSA for Linux

NO

 

 

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Document/Data Note handle

4

4

 

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return code

OK = Document/Data Note successfully closed.

ER = Document/Data Note not closed.

2

2

 

 

 

 

Examples

Refer to these Domino Built-In Function Examples in the Visual LANSA Developer Guide:

Example 1: Creating a New Document in a Database

Example 2: Selecting documents from a Database using a view

Example 3: Executing an Agent in a Database

Example 4: Updating Documents selected from a Browselist

Technical Notes

This Built-In Function uses the standard Lotus Notes API NSFNoteClose. All security and integrity issues related to the use of this Built-In Function are according to normal Lotus Notes API use for the current platform.