can anybody tell me how to generate unique numbers say of 5 digits each starting with the letter C? I have a form where i want to generate a code in a textbox for one product when i click on the generate button. not random numbers but in ascending order starting from say C0001 or something like that.
Pls help me. I gotta finish this database project soooooon!

are good at math? try combination. a mathematic formula. you will be able to generate you code in the good order and unic in same time!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.