>You can use something like this:
>
>LOCAL lcNumber, llExists
>
>RAND(-1)
>
>DO WHILE NOT llExists
> lcNumber = PADL(INT(RAND()*100000000),8,'0')
> llExists = SEEK(lcNumber,'cTableAlias')
>ENDDO
>
>
Hi Jim,
This is exactly what I've been looking for.. Thank you..
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20