Why does the ID need to be random? Simply counting the customers would make them all unique.
If it must be random I'd count the customers and change the leading zeros to a generated pseudo random number.
Hope that helps
Chris
In reply to Re: Re: Re: Generating random 6 digit numbers
by cfreak
in thread Generating random 6 digit numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |