in reply to SQL queries using dynamic array

Exactly what I wanted. Thank you for your generosity. I really enjoy this element of programming.