Complete

Use this procedure/function to complete the work-in-process.

Syntax

Complete (PrintFlag, ExportFlag, ExportType, ExportFile)

Parameter

Description

PrintFlag

Indicates whether the system should print the form set. The default is No.

ExportFlag

Indicates whether the system should export the work-in-process data to a file. The default is No.

ExportType

TD, SI, and so on. Indicates the type of export file. The default is TD.

Exportfile

The file name for the Standard Export file, if specified in the INI options.

This procedure performs the same processes as the File, Complete option except the windows which request information from the user do not appear if you enter all values. This procedure starts the following processes, as specified by INI options:

The standard export format is the only file format supported. This procedure returns success (1) if no error occurred during the complete process. If an error occurred, the procedure returns a zero (0).

Example

Here is an example:

Procedure

Result

Explanation

Complete ( )

Completes the work-in-process.

Performs the processes as specified by archive INI options.

Complete,,, (EXPORT.TXT)

Completes the work-in-process and writes the data to a file named EXPORT.TXT.

Performs the processes as specified by archive INI options and writes the data to a file named EXPORT.TXT.

See also