AddresseeCount

Use this function to determine the number of addressees for a named recipient parameter. Use this function with recipients using the Addressee Map capability and with the GetAddresseeValues function.

Syntax

AddresseeCount(RecipName)

Parameter

Description

RecipName

Enter the name of the recipient for which you want to know the number of addressees. This name should be a recipient name associated with the document set.

The return value is the number of addressees associated with the named recipient. If the recipient named is not part of the document set or has no addressees associated with it, the system returns zero (0).

Note To determine whether a recipient is actually used in the document set and not the number of addressees, use the HaveRecip function.

Example

Here are some examples.

For this example, the mapped data shows six memo addresses for a given document set. The document set is not distributed to the Agent and the Insured recipient does not support addressees.

Function

Result

Explanation

#Cnt = AddresseeCount("Memo")

6

The #Cnt variable contains 6 to reflect the number of unique addressees associated with the memo recipient documents for the document set.

#Cnt = AddresseeCount("Agent")

0

The document set is not distributed to the Agent recipient.

#Cnt = AddresseeCount("Insured")

0

The Insured recipient does not support Addressees; therefore the returned value is zero (0).

See also