I have a table RECEIPT and the ID that i created is
REC-201290001 = “REC-“+”YEAR”+”MONTH”+”0001”
I create the number with a String.Format but in order to create the next one i need the last ID i inserted so i can increase it.
Thanks very much for your help.
1 Answer