Ahh...I spoke too soon, Michael. I had to make a minor adjustment so it worked for ALL records. I added "ELSE Company" before the END. So it now looks like:
Very timely post for me. I've been in management for over 10 years, but my desire to get back to the raw data level and code has increased each year....