generate unique numbers

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2006
Posts: 12
Reputation: shalini_roy is an unknown quantity at this point 
Solved Threads: 0
shalini_roy shalini_roy is offline Offline
Newbie Poster

generate unique numbers

 
0
  #1
Jun 24th, 2006
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!
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 24
Reputation: sosco is an unknown quantity at this point 
Solved Threads: 4
sosco's Avatar
sosco sosco is offline Offline
Newbie Poster

Re: generate unique numbers

 
0
  #2
Jun 27th, 2006
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!
---------------------------
Modest Valentin, Ticu
IATAR Studio

http://iatar.no-ip.org/
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC