dgorsman - interesting that you that, I have been considering dbconnect, but it would add another layer of complexity for my users who would then have to maintain an sql database, or microsoft excel, externally. On the question of which data gets where and how, I'm about to post another question about that.
irneb - that looks very cool. Deserves to become a standard library function no doubt..!