Skip to main content
Skip table of contents

f$Word: Update fields


f$Word: Update fields

Update all DocVariable fields of the first inserted text component.

This function is only necessary after inserting the first text component. If the Word document generation was called using the option generate, this function must be called after inserting the first text component to substitute DocVariable fields.

In all other cases, e.g. upon a call after inserting the second text component, this function will not show any effect on the text document.

Locking the fields leads to the fields keeping their values, even if the ePOS parameter has a different value when inserting components later in the same document. If the fields are not locked, a changed ePOS parameter causes all fields referencing this parameter to be changed as well.

Syntax:

Status = f$Word('Update fields', block,'')

 

Argument

Type

Meaning

 

Update fields

String

Keyword

 

Block

String

'' – The current fields are locked.

'0' - The current fields are not locked.

 

''

String

''

Result:

Integer

0: Command successfully executed

-1: No active document

Example:

Status = f$Word('Update fields,'','')

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.