Tryying to update several fields when a button is clicked. all is working besides the lookup field of the table. for this record looking to a primary key of the other table wont let me put that primary key in. it says "Record expected" what is this "Record"?
Hi amarion,
To test this issue, I create an app based on SharePoint list, then I use the UpdateIf function to update several fields to data source.
The function I am using is:
UpdateIf(ListB,ID=BrowseGallery1.Selected.ID,{Title: DataCardValue15.Text,bpsf:Value(DataCardValue9.Text)})
Not sure with the column type of “SubstationsID”. If it is a Number column type, please use a Value function to convert a string of text to a number.
Please see more details about Value function at here:
https://powerapps.microsoft.com/en-us/tutorials/function-value/
And about the column name, we shouldn’t use the Column name we have specified in the list, with the form selected, click the highlighted ellipsis, then you would get the valid field name. We should use this field name in the function.
Best regards,
Mabel Mao
User | Count |
---|---|
196 | |
124 | |
87 | |
49 | |
42 |
User | Count |
---|---|
284 | |
163 | |
138 | |
75 | |
72 |