Hi There,
I hope I have put this in the right place.
I had tried doing this from another post on here suggested
txtUniqueNumber = Number & Format(Date, "ddmmyy") & ID
What I did was
txtUniqueNumber = Format(Date, "yyyy")&"-"&ID
Didn't quite do what I wanted.
What I am trying to achieve
(Date + Number) and then Reset Next Year e.g. below to give its uniqueness
Year 2016
2016-001
2016-002
2016-003 etc
Year 2017
2017-001
2017-002
2017-003
2017-004 etc
Would you put this in the default field of the table and create a new field?
Thanking you for your time and assistance
Annie
I hope I have put this in the right place.
I had tried doing this from another post on here suggested
txtUniqueNumber = Number & Format(Date, "ddmmyy") & ID
What I did was
txtUniqueNumber = Format(Date, "yyyy")&"-"&ID
Didn't quite do what I wanted.
What I am trying to achieve
(Date + Number) and then Reset Next Year e.g. below to give its uniqueness
Year 2016
2016-001
2016-002
2016-003 etc
Year 2017
2017-001
2017-002
2017-003
2017-004 etc
Would you put this in the default field of the table and create a new field?
Thanking you for your time and assistance
Annie