Oh dear! Now that I've finally stopped blushing I can say thank you. It's always a pleasure to help out a fellow PowerBuilder. I think the real credit goes to Kim Sheffield and the folk who look after the Datawindow technology.
So glad I was able to help,
Paul