At 11:55 AM 3/20/03 -0600, [EMAIL PROTECTED] wrote: >Need to set a job number to a unique number, based of creating a number >using the RandRange function, but then I need to take that number and
Why not just make the number the next number in sequence? Just find the highest number used as a W/O and increment it by one. That way you don't have to worry about hitting a used number again and again. T ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

