Avatar of SteveL13
SteveL13
Flag for United States of America asked on

Calculte distance between two points

If I have a table with Locations, Latitude, and Longitude, is there a way with MS Access to calculate the distance between them?

I'd have a form with two comboboxes.  The user would select two different locations in those comboboxes.  Then in a text box on the form would be the distance between them.

Possible?
Microsoft Access

Avatar of undefined
Last Comment
PatHartman

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jeffrey Coachman

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
PatHartman

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SteveL13

ASKER
You both posted the same solution 7 minutes apart.  And it works!
PatHartman

Jeff types faster:)
SteveL13

ASKER
Unsure of the rules.  Do I award to both of you or the first one?  I'm not sure I've ever had exactly the same solution so close to one another.
Your help has saved me hundreds of hours of internet surfing.
fblack61
PatHartman

I think the posting order is somewhat out of our control so on any given day, I could have ended up first.  There is no hard rule but if we each posted the same answer minutes apart I would be OK with splitting the points were I in first but awarding all the points to Jeff isn't a problem for me either since technically he beat me.