Hi Robert, thanks for your reply, I'm sure your suggestion would work but CreateInstance is supposed to do what it says it does - I've seen what I'm trying to achieve done before but can't remember exactly how to do it ! thanks again , if you think of anything else ?
Regards,
Peter J. Kane
Pete