|
As well as the familiar route distance, time, and cost values; MPMileage can write an 'Error' data value. This value is a text field which indicates the status of the result. Valid values are as follows:
Value
|
Meaning
|
Action
|
Okay
|
The route calculation succeeded.
|
No action required.
|
Start not found
|
The start location could not be found
|
Location might not exist in the map file.
Check that the spelling of the location in the database matches the corresponding pushpin in the map file.
|
End not found
|
The end location could not be found
|
Location might not exist in the map file.
Check that the spelling of the location in the database matches the corresponding pushpin in the map file.
|
Route not found
|
MapPoint was unable to calculate the route.
|
A valid route cannot be found. Eg. between islands or one location is too far from a road.
|
Unknown Error
|
Should not occur
|
Report as a possible bug.
|
The Error column should be at least 16 characters wide, but must be able to hold at least 4 characters. The above values will be truncated if necessary.
Further error values may be added at a future date.
The above error values can be used in repeated runs to indicated that only rows with errors should be calculated. This is described on the Row Selection page.
|