THis is where UDF's can be useful, check out:

http://www.cflib.org/udf.cfm?ID=171

by Joshua Miller

Peter Tilbrook
ColdFusion Applications Developer
ColdGen Internet Solutions
Manager, ACT and Region ColdFusion Users Group - http://www.actcfug.com
4/73 Tharwa Road
Queanbeyan, NSW, 2620
AUSTRALIA

Telephone: +61-2-6284-2727
Mobile: +61-0439-401-823

My wife says I never listen to her... At least I think that's what she said!

\�\/�/ |�|)�) /�/\�\ \�\/�/
/_/\_\ |_|)_) \_\/_/ /_/\_\ RULES
-----Original Message-----
From: Nick Baker [mailto:[EMAIL PROTECTED]
Sent: Thursday, 22 January 2004 5:08 PM
To: CF-Talk
Subject: How do you get a random, random number?

CF5
MS Access

To test a site I need to populate a DB with random values. I haven't been
able to find a way to get really random numbers

Using Randomize() to seed RandRange() doesn't seem to get the job done,
unless you can come up with a random number to use with Randomize().  I am
using a loop to populate the DB, so this makes using even the seconds from
something like Now() and GetTickCount() as Randomizers ineffective.

Ideas and/or suggestions would be greatly appreciated.

Thanks,

Nick
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to