D
David McKnight
acos(cos($a1)*cos($b1)*cos($a2)*cos($b2) +
cos($a1)*sin($b1)*cos($a2)*sin($b2) + sin($a1)*sin($a2)) * $r;
I would like to convert the above excel formula to us in an access query to
calulcate distance between two cites. a1,b1,a2,b2 are lat & long and are in
degrees so I must first convert to radians. R= radius of earth. Any way to do
this in Access?
cos($a1)*sin($b1)*cos($a2)*sin($b2) + sin($a1)*sin($a2)) * $r;
I would like to convert the above excel formula to us in an access query to
calulcate distance between two cites. a1,b1,a2,b2 are lat & long and are in
degrees so I must first convert to radians. R= radius of earth. Any way to do
this in Access?