I have this VBA in my DB and i wish that the current year be added to it but only the last two digits of the year:
Private Sub SupplierID_AfterUpdate()
Me.PurchaseIDNew = "PU00" & [PurchaseIDAutoNumber]
End Sub
Let it look like this:
Private Sub SupplierID_AfterUpdate()
Me.PurchaseIDNew = "PU00" & [PurchaseIDAutoNumber] & "/" & "Current year"
End Sub
An example is this: PU0064/13
Thanks in advance for your help