Thank you Peter and James. The SQL query I’m performing is in EBMS itself. I’m not using a separate Microsoft query tool for two reasons. First, I don’t have access to it. Second, the results of Distance Calculator are in MapInfo. Besides, I’m not a SQL guy at all. Unfortunately, I’m the only one who is willing to take on these mapping project(s). But thanks for your feedback. If you or anyone else on this forum have any other ideas, please let me know. Thank you.
Amit
Yes. In fact I really like the Spider Graph tool. The problem is that Spider Graph works well once you already know the exact routing solution. Majority (almost all) of the situations I’m trying to resolve is getting the best routing model for two sets of data. For example, I have 400+ theatres across the country and 21000 stores of a business scattered across the U.S. My task is to find the best routing solution where I can route the maximum number of stores (even all of the stores) to the least number of theatres to get the best ROI. I’ve previously used the buffer method by creating a large (typically 200 miles) around each theatre, exporting the results and then using pivot tables and extensive analysis to filter out the best theatre-stores model. However, that method, though it works well, is very time consuming and often crashed my computer due to overload. I recently played around with the Distance Calculator tool and it basically does 75% of the work for you by routing each store to the nearest theatre without any overlap or duplication error. I can even see these results in the window of Distance Calculator tool (e.g. Store #, Theatre # and Distance for each pair). Since I typically work with extremely large sets of data (10000+ records), it would be impractical to copy the solution on a notepad. I need to electronically extract this information in excel for further analysis. I have even gotten as far as to extract using SQL the results mentioned above. But since you can only choose one identifying column from two sets of data when using Distance Calculator, I don’t get the rest of the data associated with each table, e.g. Store address, Theatre Address, Store Manager, Theatre Name, etc. etc. It is this issue that has put the kibosh on really using this tool to the max. And since I’m not a SQL guy (everything I’ve learned so far is by checking out the forum J), it is not the easiest thing for me to resolve.
Thanks for the idea Darren. After reading the full explanation above, if you think there may be an easier way to do what I’m trying to do, please feel free to let me know. Thank you.
Amit
<BR