You are here: Function Reference > Alphabetical Listing > S > SetWIPFld

SetWIPFld

Use this procedure/function to set WIP fields from DAL to the record in memory.

Syntax

SetWIPFld (Field, Data)

Parameter

Description

Field

Enter the name of the variable field.

Data

Enter the data you want to store in the field.

Note You cannot change the FormsetID field which is used to associate WIP records with data files.

The system returns one (1) if successful or zero (0) if the field cannot be changed or does not exist.

Example

Here are some examples:

Procedure

Result

Explanation

SetWIPFld ("DESC", "My Description")

1 or 0

Assigns to the WIP description field a new description.

SetWIPFld("DESC")

1 or 0

Clears the WIP description field.

See also