Anyone know how to do this is one line?
<cfset newRanID1 = #RandRange(1,1000000)#>
<cfset newRanID2 = #RandRange(1,1000000)#>
<cfset NewRandID = '#newRanID1##newRanID2##newRanID1#'>
<cfset NewRandID = #left(newrandid,8)#>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists