|
| |
|
|
travismp
Posts: 215 Joined: 2/1/2002 From: hutchinson ks USA Status: offline
|
Proximity search by zip code? - 5/5/2008 9:31:14
I have a current ASP page where a user can search by city, st, or zip code and it will show results based on the search criteria. If my user types a zip code that is not in our DB then it says "no results found" How do I set up a search by proximity field? Thank you.
|
|
|
|
travismp
Posts: 215 Joined: 2/1/2002 From: hutchinson ks USA Status: offline
|
RE: Proximity search by zip code? - 5/5/2008 9:50:21
Also I am willing to buy software if needed to make it work easier. Thanks.
|
|
|
|
rdouglass
Posts: 9137 From: Biddeford, ME USA Status: offline
|
RE: Proximity search by zip code? - 5/5/2008 10:26:55
I built one using a Public Domain ZIP code DB that lists the longitude and lattitude of the ZIP code. Then I use a stored procedure that uses the Pythagorean theorem to find the closest ZIPs. I would *not* recommend this with an Access DB at all but rather SQL Server. (Well this stored procedure is for MS SQL so I guess that's what I recommend. ) How comfortable are you with SQL Stored Procedures?
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
travismp
Posts: 215 Joined: 2/1/2002 From: hutchinson ks USA Status: offline
|
RE: Proximity search by zip code? - 5/5/2008 10:31:05
I have no working knowledge of SQL at all. Also there is not a SQL application loaded on the web server.
|
|
|
|
travismp
Posts: 215 Joined: 2/1/2002 From: hutchinson ks USA Status: offline
|
RE: Proximity search by zip code? - 5/5/2008 11:01:01
That is OK, thank you for the consideration. Eventually I will have SQL available, but right now it is not an option. I may just put the project off until then. Thank you rdouglass.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|