Trying to get syntax right for a patch.
Im in powerapp form for vacation requests and going back to the employee master to update fields there.
Emergency Hours Used is a field on the master
I need to set this field = to a calculation of that field and the hours which is on the request form.
Cant figure out how to reference the emergency hours left in the subtraction
Patch('Lyn Employees',First(Filter('Lyn Employees',Clock_x0020_Number=DataCardValue3.Text)), { Emergency_x0020_Hours_x0020_Used:Emergency_x0020_hours_x0020_left -Value(DataCardValue31.Text),