Description
When applied to a solution of an algorithm that is designed to retain address blocks, this method returns a parsed and corrected portion of the address based on the value passed into it. For the proper data to be returned, the algorithm that generated the solution must have the address extraction parameter set, with the item in question being requested, and the Solution method PrepareAddress must have been called.
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application
Syntax
object.AddressPart (item)
Parameters
Object is a reference to the Solution object. For more information, see Solution Object.
AddressPart is the command.
Item is the value passed into the function to determine what is returned. Valid values are:
-
PART_TITLE
-
PART_FIRST
-
PART_MIDDLE
-
PART_LAST
-
PART_COMPANY
-
PART_ADDRESS1
-
PART_ADDRESS2
-
PART_CITY
-
PART_STATE
-
PART_ZIP
-
PART_PHONE
-
PART_AUX1
-
PART_AUX2
-
PART_AUX3
-
PART_NAME
Example
This.PrepareAddress
strFirstName = This.AddressPart(PART_FIRST)