As Pat put it, but make sure to wrap the code (01,02,05,07,09,10,15) field in Nz(), when doing comparisons so that you don't run into a problem if you test a record that has a Null in that spot.
If you tell us what you do with tblSales (how you use it), we can tell you where to insert...