I have been learning Power Apps and following some videos YouTube but it seems the code has changed because i cannot recreate their results.
I have a list on SharePoint, i then created an app linked to it in power apps as a gallery, i got the data inputting into text boxes from the list, i then added an edit icon and set it so when the edit icon is clicked it will edit that record using the ID, that all works fine but when i add a save icon i start to get invalid arguments.
Code for edit
If(ThisItem.ID=EditMode,false,true)
Code for Text boxes (DisplayMode)
If(ThisItem.ID=EditMode,DisplayMode.Edit,DisplayMode.View)
Code for Save
UpdateContext({EditMode: ""}); Patch('Petty Cash Reimbursement',{ID=ThisItem.ID},{Description:In_Desc.Text,Students:In_Stu.Number,Staff:In_Staff.Number,'Cost Per Head': In_Cost.Number,Value:In_Val.Number,'Claimant Signature':In_C_Sign.Text,'Manager Signature':In_M_Sign.Text,Code:In_Code.Number})
As soon as i enter the code for Save the formulas error out saying Invalid argument type with the text inputs and Unexpected characters we expect an operator such as +,*'or & at this point in the formula.
thanks for your help... Power Apps Newbie