I have a form and on this form I dragged in a subform from the buttons, then I added the below script to each of the subform fields that contribute to the Sub Total. All worked well. However then I decided that I needed the other type of subform where I have a linked field so I created a new form with the subform fields that I needed then added it to my main form with the linking. Then I added the below code to the Qnty field and clicked Save Script, and got the below error:
Error at line number : 1 'row' is a invalid collection and update is not possible