I want to update multiple fields off a single Case (or IF) statement.
Example
Update Temp_AMSS
If DIC <> 'XM'
begin
Set Errors = 'Wrong Report'
Set RejectErrors = RejectErrors + 1
end
end
If next query
Begin
Set Errors = Errors + ' next Error'
Set RejectErrors = RejectErrors + 1
End
End
Larry
Example
Update Temp_AMSS
If DIC <> 'XM'
begin
Set Errors = 'Wrong Report'
Set RejectErrors = RejectErrors + 1
end
end
If next query
Begin
Set Errors = Errors + ' next Error'
Set RejectErrors = RejectErrors + 1
End
End
Larry