Private Sub Line_AfterUpdate()
Me.Line_Date.Value = Now()
Dim a As String
If IsNull(Me.Text12) Then a = 0 Else a = Me.Text12
If (a + Me.Line_Out) = DLookup("[Order Qty]", "Order Schedule", "[Order]='" & Me.Order & "'") Then Me.AllowAdditions = False
End Sub