>>
>>Why is the RAND statement not working in the exe?
>>
>>Thanks!
>
>
>Seed Rand() with a -1 before calling it. This will make it random all the time.
>IF you closed your developement environment and called it, in that order each time you will note that it always is the same.
>
>Try:
>rand(-1)
>l_nPickNumber=round(rand()*100,0)
>
>Tracy
Thanks to you and Sergey - that did it!
Regards,
Phil Thomas
http://phillipdthomas.comNever let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....