Hi All,
So i managed to get this code to work with my limited VBA knowlege.
Private Sub RecordNumber_AfterUpdate()
Me.RecordID = "DQC-R-" & Format(Forms![Record Inventory]![CreatedDate], "mmddyyyy") & Me.Technician & "-" & Me.RecordNumber
End Sub
However, there is one little thing that is keeping it from being what i need. the Me.Technician part of the code is reporting the primary key of the data instead of the actual data, which i want. I have a field on a form named TechInitals, which is a list box created from a table containing information for all the technicians in my dept. I need vba to display their initials, instead of the primary key field.
Any help with this?