BBjForm::isJobComplete

Description

In BBj 4.0 and higher, this method indicates the completion status of the document, i.e. the calling of print, preview, or cancel.

Syntax

Return Value

Method

boolean

isJobComplete()

Parameters

None.

Return Value

0 = Print job not complete
1 = Print job complete

Remarks

None.

Example

rem 'Is this document complete?

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 myBBjForm! = myBBjPrinter!.getForm(1)

rem 'Is the document complete?
let complete = myBBjForm!.isJobComplete()
release

Example - Purchase Requisition

See Also

BBjAPI

BBj Object Variables

BBj Object Assignment

BBj Object Error Handling

BBj Object Operators

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