Nomi123, is this the only condition you will check? Or is there some more conditions? If that is the case, I would suggest you create tblCodeOutcome with CODES and their Outcomes.. Then based on their Ticks you can 'generate' the Outcome..
Because as the need increases your code will get bigger and bigger.. So will the complexity of debugging if any error occurs..