Re: Append to existing SharePoint list row if date already exists.
Hi @StuartSmith
You can set a condition on a button for submitting data.
If(
IsBlank(Lookup(SPlist,somedate=DatePicker.SelectedDate),
Patch(
SPlist,Defaults(SPlist),{field1:Textinput1.Text,field2:Dropdown1.Selected.Value,etc}
),
Patch(
SPlist, Lookup(
SPlist, somedate=DatePicker.SelectedDate
),{field1: Textinput1.Text, field2: Dropdown1.Selected.Value, etc}
)
)
This formula tests to see if there is a field that matches the datapicker control's date and if not, creates a new item, If there is already an item that matches the date selected in the datepicker, then it will modify that item.