bustersports
Programmer
Hi,
I am trying to determine all possible zip code combinations for the first 3 digits. They then must be combined into a 6 character field used in queries based on zip codes. Ex: 111xx and 765xx would be combined into 111765 and so on thru all possible combinations. The zip codes are used in reviewing paid invoices. We do not get the entire zip code just airport or shipping port codes. Does anyone have a suggestion on how to generate this list? The process will be when pulling in the data to be reviewed, the port codes will be matched to the appropriate combination for the user to review. I understand this may sound silly to some, but it is the process the user wants to have available. I think the table should only need generated one time, but expect thousands of records. This is way too many to do it by hand. Any suggestions would be greatly appreciated. Thanks very much.
I am trying to determine all possible zip code combinations for the first 3 digits. They then must be combined into a 6 character field used in queries based on zip codes. Ex: 111xx and 765xx would be combined into 111765 and so on thru all possible combinations. The zip codes are used in reviewing paid invoices. We do not get the entire zip code just airport or shipping port codes. Does anyone have a suggestion on how to generate this list? The process will be when pulling in the data to be reviewed, the port codes will be matched to the appropriate combination for the user to review. I understand this may sound silly to some, but it is the process the user wants to have available. I think the table should only need generated one time, but expect thousands of records. This is way too many to do it by hand. Any suggestions would be greatly appreciated. Thanks very much.