BBjTriggerData::getAllowOverwrite

Description

In BBj 6.0 and higher, if no key was specified in a Write Trigger, this method indicates whether write will overwrite or throw an error.

Syntax

Return Value

Method

boolean

getAllowOverwrite()

Parameters

None.

Return Values

Boolean indicates whether write operation will overwrite an existing record, as opposed to throwing an error.

Remarks

None.

Example

rem 'Get the Trigger object from the BBj File System

td! = BBjAPI().getFileSystem().getTriggerData()

rem 'call getAllowOverWrite()
isAllow = td!.getAllowOverwrite()

See Also

BBjAPI

BBjTriggerData

ObjectVariables

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.