Hi! Thanks for your answer. However, I think I just stumbled upon a more easy method that does what I need. Namely: generate a random number, increment the global number, make sure the length of the random number is always the same number of digits, and concatenate the two of them :-). Robert