I have a form control that populates my Dataverse table without any issues. However, I also have separate dropdowns that I want to be included in the same record as the data from the form control. I have the following patch function, but this creates a new row every time.
Patch(
'Onboarding Requirements',
Defaults('Onboarding Requirements'),
{
'Std Dept No.': LookUp(
Divisions,
Location = Dropdown1_1.Selected.Value && 'Company Name' = Dropdown_company.Selected.Value && 'Division Name' = Dropdown1.Selected.Value,
'Division No.'
)
}
)
I'm hoping to simplify the process by having just one button that both submits the form and runs the patch function without creating a new row every time. Does anyone have any ideas on how to achieve this?