I managed to get it working and then switched to a totally differentapproach and it works fine too. Thanks for the comments about myearlier posting...