David Garza Posted April 10, 2007 Posted April 10, 2007 Hello, I am attempting to create a portal that will list all of the establishments from one table (REP_establishment_distance (TABLE: ESTABLISHMENTS) ) on another layout REP_Representative (TABLE: Sales_Reps). The problem is I only want to list the records that are within x miles of each other which can/is calculated with a Custom Coordinate Function. In the REP_ table, I have a static fields called WithinDistServiceArea. In the Establishments, I have a non-stored calculation field called EstRepDist. The distances must be calculated on the fly because there are 150 different Sales Reps and over 60,000 Establishmnets. Each distance is different for each Sales Rep and Establishment; I calculate over 9,000,000 different combinations to calculate the distances. I do not believe a JOIN table would be feasible, but then calculating each distance everytime the REP_ layout is opened would not be feasible either. What would you suggest? I have thought about manually selecting each Establishment, a one-time search for any distances (using a looping script which I already have to export the locations of the Establishments into a KML or XML file for Google Maps/Google Earth) but when new establishments are added, this would not work. Thank You and God Bless! David
Recommended Posts
This topic is 6505 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now