[thelist] For the ASP Gurus...
Anthony Baratta
Anthony at Baratta.com
Sun Dec 9 11:41:45 CST 2001
At 06:32 AM 12/9/2001, you wrote:
>make sure you execute Randomize before executing Rnd()
Don't forget that the Randomize can accept a seed. And that with a little
jiggering you can help your "randomness" by replacing the default seed.
e.g.
Randomize Right(ABS(DateDiff("s",Now,#1/1/1998#)),4)
What this does is select the last four digits from the number of seconds
since the date entered and use that as the seed. You can use any date in
the past.
---
Anthony Baratta
President
Keyboard Jockeys
"Conformity is the refuge of the unimaginative."
More information about the thelist
mailing list