Technical Reference > Graphics Builder Automation Interface > Page Properties Functions > PageAssociationValueOnError

PageAssociationValueOnError

Sets or retrieves the value-on-error for the currently selected page association.

Syntax

ValOnErr = PageAssociationValueOnError

PageAssociationValueOnError(ValOnErr)

ValOnErr:

Value to be used if the substitution was not performed and a default value was not defined, or a tag name was specified that did not resolve.

Return Value

The value-on-error for the currently selected association (as a string), or 0 (zero) if successfully used to set the value-on-error. An error is returned if unsuccessful.

Related Functions

PageAddAssociation,PageAssociationDescription