Fantastic, it works Henry.
I wondered whether I should be using all that comment:com.ibm.xsp.component.xp.XspInputText stuff and that it might be to do with arrays, but it would have taken me even longer than it has to come up with that.
Many thanks guys.