Thanks Alex (and Christophe). Will try these things tomorrow. Sorry about using 'dict' for a dictionary; and after having been bitten by calling a list 'list' before now.:-) Cheers. Duncan