I'd like to keep track of shift production with a barcode scanner. I was thinking of comparing the barcode to an array of 20 strings. The array would cleared twice a day. In comparing the barcode to the array, if the code is found I would increment a counter. If no code is found I would set it up in the array at the first 0 string and increment the counter. Does anyone have an easy way of doing this? I would greatly appreciate any ideas. I can use a bunch of NEQ and EQ statements to do this but would require a bunch of code. Is there an easier way?