ResolveZipCode Macro

Use the ResolveZipCode macro to perform a lookup on a zip code value and populate the appropriate loan fields with the resulting city, county, and state values.

Parameters:

 

  • Zip Expression: An expression that is evaluated to determine the zip code to look up.
  • City Field ID: The field ID of the field to be populated with the city corresponding to the zip code. (This is not a required parameter.)
  • County Field ID: The field ID of the field be populated with the county corresponding to the zip code. (This parameter is not required.)
  • State Field ID: The field ID of the field be populated with the state corresponding to the zip code. (This parameter is not required.)

 

Return Value:

 

None

 

Example:

 

The following macro/code looks up the borrower's current zip code and populates the city and state fields on the form.

 

Macro.ResolveZipCode("[FR0108]", "FR0106", "", "FR0107")