selectzipdistancetool
DISTANCE

The selectzipdistancetool statement selects records near the current record, based on zip codes.


Parameters

This statement has one parameter:

distance – the distance from the center (in miles). Records that are closer than this will be selected, all others will be unselected.


Description

This statement selects records near the current record, based on zip codes. The current field must contain zip codes. This statement is designed to be used from the data sheet context menu, so it supports undo. This example selects all records within 15 miles of the current record.

selectzipdistancetool 15

If you need this feature as part of a larger procedure, you should use the select statement with the zipdistance( function and handle undo yourself (with startdatabasechange).


See Also


History

VersionStatusNotes
10.0NewNew in this version.