I need help running a query to find the nearest coordinates for two separate tables. I have table one with field X and field Y and table two with field X2 and field Y2 and i need to run Sqr(([X]-[X2]^2)+([Y]-[Y2])^2) to find the coordinates from table two which are closest to the coordinates from table one. This will require the formula to be ran against each record of both tables and then display the minimum value for each. Any ideas on how to set up relationships and query to accomplish this?