9 63 DOM_DELETE_FIELD

LANSA Technical

9.63 DOM_DELETE_FIELD

Þ Note: Built-In Function Rules.

Deletes a field from an open document/data note using the field name. The named field is deleted from the in-memory copy of the document until the DOM_UPDATE_DOCUMENT Built-In Function is used to update the document/note in the database.

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

 

 

2

A

Req

Field name in the document whose value is  to be deleted.

1

65

 

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return code

OK = Field value successfully deleted.

ER = Field not deleted.

NF = Field value not found.

2

2

 

 

 

 

Example

Refer to these Domino Built-In Function Examples:

Example 4: Updating Documents selected from a Browselist

Technical Notes

This Built-In Function uses the standard Lotus Notes APIs NSFFieldIsPresent and NSFFieldDelete. 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.