Hi PaulMany thanks for your quick response. When I added that to my form it removed the first instance rather than the last instance. I had a look on the links here and for any one else that has a similar prob the following seems to have fixed the problemsubform.instanceManager.removeInstance(subf...