Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
I did something very similar to this years ago, but I added the restriction of not using the letters I and O since they could be mistaken for the numbers 1 and 0. I used the other 24 letters of the alphabet. When I reached 99999, I searched a 24 occurrence internal table to locate the current letter of the alphabet. When I found it, I incremented the index by 1, used that occurrence as the leading character of the 6 byte key, and set the new 5 character number to 00000. Hope that helps.