Functions (all)

DistanceBetween

Function Name:
DistanceBetween
Description:
Returns the distance between two referenced place records.  Only works if both places have been geocoded.
Minimum FH Version:
6
No. of Parameters:
3
Return Type:
Integer.  The distance between the two places.
Parameter 1:
A data reference to a Place record.
Parameter 2:
A data reference to another Place record.
Parameter 3:
Specify the required unit of measurement for the returned value.  This can be:
MILES Distance is returned in miles.
KMS Distance is returned in kilometres.
MAP_UNITS Distance is returned in whatever units are used for maps.

Example:

=DistanceBetween(,[Place: "Place"],MILES)