Richard Ian

Richard Ian

  • NA
  • 9
  • 989

Characters and year with Auto increment number.

Aug 31 2016 2:20 AM
I want to make a unique ID code for example: TRSVDSI-16-0001.
 
"TRSVDSI" is permanent, "16" is the last 2 digit of the current year and "0001" is the auto increment number.
 
Whenever I add new client, its client code should be  
TRSVDSI-16-0002
TRSVDSI-16-0003
TRSVDSI-16-0004 and so on... 
 
please give me some vb.net codes on your mind that can guide me making my unique id code. Thank you in advance. 

Answers (7)