You are here: Function Reference > Alphabetical Listing > D > DelWIP

DelWIP

Use this procedure/function to delete the work-in-process and its associated data.

Syntax

DelWIP ( )

There are no parameters for this procedure.

This procedure removes the current work-in-process (form set) information from the WIP.DFD file, deletes the associated data files (POL and DAT, if they exist) from the WIP subdirectory, and writes comments to the AFELOG file to note the work-in-process (form set) was deleted.

This procedure returns success (1) if no error occurred during the complete process, otherwise a failure (0). This procedure only works with the Entry module, it will not work in the data entry mode of Studio.

Example

Here is an example:

Procedure

Result

Explanation

DelWIP ( )

Deletes the work-in-process.

Deletes information associated with the work-in-process and updates the AFELOG file.

See also