9 71 DOM_OPEN_DOCUMENT

LANSA Technical

9.71 DOM_OPEN_DOCUMENT

Þ Note: Built-In Function Rules.

Opens the specified document within a database using the given Note ID.

You must use either the DOM_UPDATE_DOCUMENT or DOM_CLOSE_DOCUMENT Built-In Function when you have finished with the document to release Notes allocated memory.

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

Database handle

4

4

 

 

2

N

Req

Note ID

1

15

0

0

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return code

OK = Document successfully opened.

ER = Document not opened.

2

2

 

 

2

A

Req

Document/Data  Note Handle

4

4

 

 

 

 

Example

Refer to this Domino Built-In Function Examples:

Example 2: Selecting documents from a Database using a view.

Technical Notes

This Built-In Function uses the standard Lotus Notes API NSFNoteOpen. 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.