Glad to help. There are ways to make the code cleaner and faster if you ever want to explore those options, but that is your call. And welcome to the world of KiX.
_________________________
Today is the tomorrow you worried about yesterday.