One of the standard demos that was used with FoxPro was exactly what you
are looking for.  I expect that the code may be available in the package,
if not it certainly can be found by asking in an appropriate newsgroup.  It
was all based on the zip code file with geographic centroids that the USPS
sells.  Of course you'll have to write the interface to FoxPro.

Sanford Carr wrote:

> I'm investigating an interesting problem and could use some help.
>
> I have a database site ( http://artandcraftshows.net ) which allows
> visitors to search for upcoming events by dates, city, state, and
> region.  But because many visitors are exhibitors, one of their prime
> concerns is to locate shows within a certain distance of their home
> base.
>
> What I'd like to do is incorporate some method of doing a proximity
> search.  That is, to allow searchers to specify something like "within
> 100 miles of Miami, FL" instead of having to use just "in Florida" and
> then try to relate the results to how close to them the shows are.
>
> Anybody got suggestions about how to accomplish this?
>
> Sanford Carr
>
> ____________________________________________________________________
> --------------------------------------------------------------------
>  Join The Web Consultants Association :  Register on our web site Now
> Web Consultants Web Site : http://just4u.com/webconsultants
> If you lose the instructions All subscription/unsubscribing can be done
> directly from our website for all our lists.
> ---------------------------------------------------------------------



____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to