Denys, I just tested your patch, it seems to work well, I think the behavior is much more predicable now. Again thanks for your help and effort. Regards, Shane