A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

"Find a Store Near you" Application



 
 
Thread Tools Display Modes
  #1  
Old July 3rd, 2004, 10:09 PM
Galsaba
external usenet poster
 
Posts: n/a
Default "Find a Store Near you" Application

I need an Access application that can search dealers from my dealer list, in a
30 miles distance from the user.

You may see many applications like this on the web if you search under "find a
dealer near you". Here is one I found:
http://www.shakespeare-antennas.com/...alersearch.asp

But I do not want to have it on the web, I want to create it on access.
I think will need at least two tables:
One is a table of each of our dealers, including their zip codes.
The other one is the entire zip database whick include all zip codes in the USA
and Canada, including the lat and long for each.

Then, when the user enters the zip code of the person who wants to find a
dealer, the application will find its lat and long from the second table. It
will then "open" an area of 30 miles radius from this lat and long, and will
find all the dealers' ZIPs in that area. Actulally,
the lat and long of each.

Then it will calculate the air distance from the user ZIP codes to each of the
Dealers ZIP codes.


Answers will be appreciated.

Aaron

  #2  
Old July 4th, 2004, 01:13 AM
Mike Painter
external usenet poster
 
Posts: n/a
Default "Find a Store Near you" Application


"Galsaba" wrote in message
...
I need an Access application that can search dealers from my dealer list,

in a
30 miles distance from the user.

You may see many applications like this on the web if you search under

"find a
dealer near you". Here is one I found:
http://www.shakespeare-antennas.com/...alersearch.asp

But I do not want to have it on the web, I want to create it on access.
I think will need at least two tables:
One is a table of each of our dealers, including their zip codes.
The other one is the entire zip database whick include all zip codes in

the USA
and Canada, including the lat and long for each.

Then, when the user enters the zip code of the person who wants to find a
dealer, the application will find its lat and long from the second table.

It
will then "open" an area of 30 miles radius from this lat and long, and

will
find all the dealers' ZIPs in that area. Actulally,
the lat and long of each.

Then it will calculate the air distance from the user ZIP codes to each of

the
Dealers ZIP codes.


Answers will be appreciated.

Do a search on distance latitude longitude this or something similar will
yield the equation you need. Check several of them for simplicity. The
simpler ones will not be as precise but will be accurate enough for your
need and the fact that ZIPCODES are based on the location of the post
offices. A person living north of Morgan Hill CA might be a mile from a
store in San Jose CA but the lookup would show about 20 miles.


  #3  
Old July 4th, 2004, 02:10 PM
Galsaba
external usenet poster
 
Posts: n/a
Default "Find a Store Near you" Application

Do you know where I can find the right scrip?t
  #4  
Old July 4th, 2004, 05:25 PM
Mike Painter
external usenet poster
 
Posts: n/a
Default "Find a Store Near you" Application


"Galsaba" wrote in message
...
Do you know where I can find the right scrip?t


Search for an algorithm that gives you the distance, they are easy to find.
You will have to write the code yourself.
Access uses an event driven language and is not a scripting language, most
of which are procedural in nature and give up depth for initial ease of use.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
msimn.exe - Application error Ken Outlook Express 11 July 19th, 2004 12:55 PM
can't "find" entrys in database Rachael Mailmerge 3 May 17th, 2004 04:04 PM
Msohelp.exe - Application Error Armando Alvarez Setting up and Configuration 0 October 9th, 2003 08:29 PM
find data in multiple worksheets Michael Psarras Worksheet Functions 1 October 8th, 2003 11:30 AM
Find a value in multiple worksheets Mike Psarras Worksheet Functions 0 October 8th, 2003 11:05 AM


All times are GMT +1. The time now is 12:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.