Okay, but are you really looking for RANDOM numbers, or are you seeking to generate the entire possible sequence of 5 digit numbers, in order, as your example suggests? Or perhaps this is an adapted Auxiliary Table of Numbers concept? How do the week and year concepts play into things? If they have an impact, then perhaps you merely need a quick date generator based on the ATN idea? If you can be more specific, it will be a lot easier to help out...
Steve
(aka smunson)
:):):)
ola_blixten (6/18/2008)
Okey, it should look like this.|week|year|serialnum|
01 0 00001
01 0 00002
01 0 00003
01 0 00004
...so 99999 on 1 week, then it turn over to week 02 and continue..:)
thanks
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)