BBjForm::cancel

Description

In BBj 4.0 and higher, this method cancels the document.

Syntax

Return Value

Method

void

cancel()

Parameters

None.

Return Value

None.

Remarks

None.

Example

rem 'Cancel the document

rem 'Obtain the instance to the BBjAPI object
myAPI! = BBjAPI()

rem 'Obtain an instance of a default BBjPrinter object
let myBBjPrinter! = myAPI!.getBBjPrinter(0)

rem 'Get BBjForm for the selected printer
let myForm! = myBBjPrinter!.getForm(1)

rem 'Cancel the document
myForm!.cancel()
release

Example - Purchase Requisition

See Also

BBjAPI

BBj Object Variables

BBj Object Creation and Assignment

BBj Object Error Handling

BBj Object Operators

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