Autonumber works great, but my boss needs the ID to be a number that begins with the 2 digit year. For example 08-465 and 08-466.
I know this must be a common requirement, so what is the best way to handle it? Should I simply create a new text field ([newID] and then use VB in a newrecord event that:
Me.newID = DatePart("YY", Now) & "-" & Me.ID
This works, but I want to see if anyone thinks there is a better way?
Peter
I know this must be a common requirement, so what is the best way to handle it? Should I simply create a new text field ([newID] and then use VB in a newrecord event that:
Me.newID = DatePart("YY", Now) & "-" & Me.ID
This works, but I want to see if anyone thinks there is a better way?
Peter
Comment