Here's a tough one that I could use help with. I need to sum /.group a set of records based on if the States (Nebraska, Arizona, New York), border one another or if a chain of bordering States can be found.
So for example, NE $100.00 IA $100.00 IL $100.00 TX $200.00 AZ $350.00 CA $350.00 Group one is $300.00 (NE, IA, IL) - NE borders IA, IA borders IL - a chain Group two is $200.00 (TX) - TX does not border any of other states Group three is $700.00 (AZ, CA) - AZ borders CA Smells like a hierarchical query, but I'm not sure. Also need to be able to assign a group number / designation to the individual records. Anyone dealt with this before? -- [EMAIL PROTECTED] www.mymacaronilife.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

