Here is a simple solution. Not too complicated. I have listed some sample data to use to test my approach to this automated process. You can twist this up into your own variation to better suit your needs. However, this will give you a baseline to start with.
I added two data fields Fname and Lname to show you how to add the first initial of both the first and last name to the unique identifier, this is done by using Left&([txtFname],1 & [txtLname],1). So your sample will look like this
DD/MM/YYYY-anum-fname-lname
01/01/2005-001SL
SAMPLE DATA
****Table(s)****
Table Name = tblData
FIELD NAME DATA TYPE
pkeyId AutoNumber
datDate Date/Time
strUniqueId Text
strFname Text
strLname Text
****Form(s)****
Form Name = tblData
Form Control Source = tblData
CONTROL TYPE NAME CONTROL SOURCE
TEXT BOX txtId pkeyId
TEXT BOX txtDate datDate
TEXT BOX txtUniqueId strUniqueId
TEXT BOX txtFname strFname
TEXT BOX txtLname strLname
LABEL lbl2 VIEW ASSOCIATED VB CODE
BUTTON cmdAdd VIEW ASSOCIATED VB CODE
LABEL (lbl2) VB CODE
Private Sub lbl2_Click()
txtFname.SetFocus
lbl1.Visible = False
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
End Sub
BUTTON (cmdAdd) VB CODE
Private Sub cmdAdd_Click()
On Error GoTo Err_cmdAdd_Click
DoCmd.GoToRecord , , acNewRec
lbl1.Visible = True
txtDate.Value = Date
Exit_cmdAdd_Click:
Exit Sub
Err_cmdAdd_Click:
MsgBox Err.Description
Resume Exit_cmdAdd_Click
End Sub
I hope this helps kick start what you are looking to achieve. There are other ways to produce the same results, however they are much more complicated.
Good luck!