Hi Ivan, On Fri, Apr 12, 2013 at 07:51:32PM -0500, jorge ivan poot diaz wrote: > Hello, Ariel > I want to do: the new color is added with a number: > Here a picture, > http://imagebin.org/253798 > > For example "prueba": > prueba245 > prueba142 > prueba634 > .... > ... > ... > > > Any idea how to generate these numbers?
I'm not sure if a random number is a good idea, may be you can simply append a number when the name is already used, given "Blue 9": "Blue 10", then if "Blue 11" is already used, increase it and try with "Blue 12" and so on. Regards -- Ariel Constenla-Haile La Plata, Argentina
pgpC3pCQpghDt.pgp
Description: PGP signature