I have a table with states, countys and zips. Many counties have more than one zip. Some may have a hundred or more. This zip table has about 80k records.
I need to create a table that has a state field, a county field and one field that has all the zips for that county separated by commas.
How about creating an array for each state/county combo that has all the state/county zips. Each zip should only be in the array once and, of course, it needs to be sorted by zip.
I figure it'll be some kind of looping function to create the array, but I'm at a loss as to where to start it. Could anyone give me a whack on the side of the head and point me in the right direction?
Thanks
I need to create a table that has a state field, a county field and one field that has all the zips for that county separated by commas.
How about creating an array for each state/county combo that has all the state/county zips. Each zip should only be in the array once and, of course, it needs to be sorted by zip.
I figure it'll be some kind of looping function to create the array, but I'm at a loss as to where to start it. Could anyone give me a whack on the side of the head and point me in the right direction?
Thanks