Is there any reason this wouldn't work?
It adds a new record but is not entering a value in the proper field.Code:Private Sub Command106_Click() If Me.FilterOn = True Then Me.FilterOn = False DoCmd.GoToRecord , , acNewRec End If If Me.strEmp.Value = Null Then Me.strEmp.Locked = False Me.strEmp.Value = [Forms]![yp_ipm]![current_user] Me.strEmp.Locked = True End If End Sub