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

PageSelectAssociationByName

Selects the specified association in the current page.

Syntax

PageSelectAssociationByName(Name)

Name

The name of the association to be selected.

Return Value

0 (zero) if successful, otherwise an error is returned.

Example

Determining whether an association with a particular name exists:

On Error Resume Next
Err.Clear()
GraphicsBuilder.SelectAssociationByName("MyAssociation")
If (Err.Number <> 0)
	' The association does not exist
End If

Related Functions

PageAddAssociation