Hi, I was trying Repeating Table Gallery Patch into Sharepoint List
The Patch function well, but with an additional blank row. as per image below

This the Button OnSelect formula:
Patch(collTrainingEmpRecords,ThisItem,
{EmpName:ComboBoxEmployee.Selected.field_EmployeeName,EmpID:Value(ComboBoxEmployee.Selected.Title),
TrgTitle:DataCardValue1.Text&ComboBoxTrainingCal.Selected.Title,
Department:ComboBoxEmployee.Selected.field_SectionDescription,
TrgID:Value(TextInputTrgID.Text)&ComboBoxTrainingCal.Selected.ID,
TrgDateStart:DateValue(DateValue1)&DateTimeValue(ComboBoxTrainingCal.Selected.field_DateStart),
TrgCPDPoints:DataCardValue6&ComboBoxTrainingCal.Selected.CPDPoints,
TrgCPDCategory:DataCardValue10.Text&Dropdown1.SelectedText.Title&ComboBoxTrainingCal.Selected.field_CPDCategories,
TrgHours:DataCardValue7&ComboBoxTrainingCal.Selected.field_Hours,
TrgCPDDesc:Dropdown1.Selected.CategoryDescription});
Collect(collTrainingEmpRecords,{EmpName:"",EmpID:"",Department:"",TrgTitle:"",TrgID:"",TrgDateStart:"",TrgCPDPoints:"",TrgHours:"",TrgCPDCategory:"",TrgCPDDesc:""})
SharepointForm OnSuccess Formula:
ForAll(collTrainingEmpRecords,If(!IsBlank(TrgTitle),Patch('HR Training Records',Defaults('HR Training Records'),{EmployeeName:EmpName,EmpNo:Value(EmpID),Department:Department,Title:TrgTitle,CPDHours:Value(TrgHours),CPDCategory:TrgCPDCategory,CPDPoints:Value(TrgCPDPoints),DateStart:DateTimeValue(TrgDateStart),CPDDescriptionText:TrgCPDDesc})));ResetForm(Self); RequestHide()
I checked some similar issue in this Forum, but was not able to understand fully why the Row with partially updated columns appear.
Appreciate if anyone could shed some light on this Patch behaviour
Thank you