• Ah, I see. Thank you. I tried case statements for a couple of hours, but I didn't think of putting them in that form.