I have to create a RecordID which should be unique and autoincremented . The specifications are something like,
1) The number must be 9 digits long
2)First two digits should represent current YY, which should increment every year
3)Next 7 digits should be like 0000001 and should be autoincremented (like 7 digits long autonumber concatenated to the current year)
so the final number should look like this: 090000001, 090000002, and so on.
What should be my approach to this?
Thanks in advance as always!!
1) The number must be 9 digits long
2)First two digits should represent current YY, which should increment every year
3)Next 7 digits should be like 0000001 and should be autoincremented (like 7 digits long autonumber concatenated to the current year)
so the final number should look like this: 090000001, 090000002, and so on.
What should be my approach to this?
Thanks in advance as always!!
Comment