Hi @WarrenBelz thanks you for your response. I have solved it - I had added the ID field into the Gallery and this was what the ClearCollect was unhappy about - once I removed it and re-added the original code you gave me with my modifcations it was happy.
what's working now for me:
Patch(
TripDetails,
ForAll(
Gallery6_4.AllItems As _item,
With(
{
_ID:
LookUp(
TripDetails,
ID = Value(_item.ID)
).ID
},
{
ID: _ID,
tripid: Value(_item.TextInput2_26.Text),
tripdate: DateValue(_item.DatePicker1_1.SelectedDate),
destination: _item.TextInput2_25.Text,
activity: _item.TextInput2_27.Text,
localcontact: _item.TextInput2_28.Text,
accomodation: _item.TextInput2_29.Text,
callintimes: _item.TextInput2_30.Text,
hoursworked: _item.TextInput2_31.Text
}
)
)
));
thanks again for the help 🙂