Re: well, what I was hoping to accomplish...

From: J French (erewhon_at_nowhere.uk)
Date: 03/04/05


Date: Fri, 4 Mar 2005 11:19:46 +0000 (UTC)

On Fri, 04 Mar 2005 11:01:02 GMT, Rod <fengist@earthlink.net> wrote:

>I was looking to generate a unique key number for some database entries.
> I was hoping, that since I was also storing the date, that (now) would
>provide me with a nice unique number as well. I only needed a number
>unique to the copy of the software running it. I've since discovered it
>doesn't. Buried in the help files is the note that even though it'll
>display lots of nice microsecond digits, it's only updated every second
>and the loop will run through 3 or 4 times a second. That's why the
>numbers I was generating were increasing by large jumps instead of the
>small ones I hoped for. Basically, I can't kill two birds with one line
>of code. Either way, I just solved it with a huge randomize number.

Ouch - that one will come back to bite you.