Yes, initially they are. However, I will be checking the randomly created 
number against the DB to ensure it is not already in use.

>"random" and "unique" are mutually exclusive.
>
>-----Original Message-----
>From: Ken Fused [mailto:[EMAIL PROTECTED]
>Sent: Thursday, April 06, 2006 10:47 AM
>To: CF-Talk
>Subject: Creating Random HEX values
>
>
>I need to create random six digit Hex values for a assigning unique,
>non-sequential values as IDs.
>
>I would prefer not to use zeros.  Althought I could replace o(ohs) with
>0(zeros) when the number is manually entered back into the system.
>
>Any ideas?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237100
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to