Chad, Do you even read the replies to your threads? This was covered in exhaustive detail 2 weeks ago. Dan chad qian wrote: > I need to generate unique 8-digit transaction ID like 12356780.How to get it for each transaction?Absolutely no duplication.