I need to make one big identifcation number called Cert# based on data in four fields in a table. Four fields are: Event, Year, Cat, DID
First question - I need to say if Event = Live then enter L, if Event = Red then enter R, if Event = anything else then enter S
Year is fine as it is an auto entry and always is 10, as in 2010.
Cat is fine as it is a single digit
Second question - DID is an auto number in the table. I need it to be three digits in the Cert#. I need to add some leading zeros if they are needed.
An example of what the resulting Cert# should look like is L104001.
I don't even know where to begin with this, if it should be in a query or what. If you have to use code, please be very specific because I don't even know where it would go. Any and all suggestions are appreciated.
Thank you!