If you use getObject() you’re getting an existing row of the table, which will be replace when you call its save() method.
If you use newObject(), you get a new object that will create a new row when it’s saved.
-
☆ A M B ☆
- 1,231 Posts
Thanks Bob, that done it! I had one getObject and another with newObject. Changed it over and it’s now adding as it should.