I was trying to actually do a cast and trap the error but (beside not having succeeded in doing so) this is a much nicer way.
Thanks. Balázs ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly