Are you trying to edit or add new rows.
If it is to add new rows I would have expected the patch to look more like this:
Patch(SWR_Training,
Defaults(SWR_Training),
{Title:Dropdown4.SelectedText.Result,
Surname: Dropdown2.Selected.Result,
BaseSite: Dropdown1.SelectedText.Value,
Region: Dropdown4.Selected.Result,
SWR1:Toggle1.Value,
SWR2:Toggle1_1.Value,
SWR3:Toggle1_2.Value,
SWR4:Toggle1_3.Value,
}
);
Navigate(AttachRecords)
if it is to edit a record it would be something like this:
Patch(SWR_Training,
/*INSERTRECORDHERE this might typically be a lookup or a selected record reference elsewhere*/,
{Title:Dropdown4.SelectedText.Result,
Surname: Dropdown2.Selected.Result,
BaseSite: Dropdown1.SelectedText.Value,
Region: Dropdown4.Selected.Result,
SWR1:Toggle1.Value,
SWR2:Toggle1_1.Value,
SWR3:Toggle1_2.Value,
SWR4:Toggle1_3.Value,
}
);
Navigate(AttachRecords)
Please replace this:
/*INSERTRECORDHERE this might typically be a lookup or a selected record reference elsewhere*/
with the record for editing
also SelectedText is deprecated so where you write: Dropdown4.SelectedText.Result
it should be Dropdown4.Selected.Result or Dropdown4.Selected.Value it may even be something else depending on the source so see the options after Dropdown4.Selected. and select accordingly. Usually by default it is Result or Value or the ColumnName it has been changed to.