Hi everyone,
I'm facing a stranged situation with patch function today.
It's very simple, I have a SAVE button with patch function to edit a field in my gallery linked to sharepoint list. For this it works fine, no problem.
The problem I have is that when I want to add another function after the patch function, like a Reset, or a Refresh (for the sharepoint list to show the updated field), or an Updatecontext it doesnt work.
I dont know why everything I put after the patch function is not accepted.
To be honest I'm almost an advanced user, I use very often 10-20 functions in a button for exemple. But Patch function is not a function I use very often, so I don't know why powerapps refuses every new function after the Patch.
My first patch function is a button to save modification in a gallery linked to a sharepoint list, after that I just want to update a variable to then disable the edit mode and come back to the view mode (its about button visible, displaymode, etc...) of the list, very simple normaly :

Patch('HRS Teams Naming Convention'; ThisItem; {Code:TextInput2.Text;Description:TextInput3.Text;'Code Type':Dropdown1.Selected.Value});UpdateContext({codes_dmb2:false;codes_dmb:true})
As you can see if I separate my functions with a ; everything after is not recognized and I receive an error saying "Unexpected characters, some characters used in this formula are unexpected).
Normally I use a "AND" or a "&" to separate formulas, but I saw ";" on youtube with PowerApps 911 channels which is very pro.
If I use AND or &, like I do for everywhere else, then the code is recognized, I have no error, but then the button doesnt work, it does nothing...
Thanks for your help, I'm trying to fix this since hours....
Any Idea ?