Hi,
In my app I am trying to update records in my SQL data source from a gallery. I am allowing the user to edit fields in a line and want to patch any field they might update to the corresponding record in SQL. Below, is my update code and the screen from my app. I am getting an error that the record is not found when I run the update. However, if I create a gallery with the same filter, I find my record.
Save Button On Select:
Update(TABLE, First(Filter(TABLE, ID = Value(IDLabel.Text) && AXIS = Text(varAxis) && SITE = varSite && SCENARIO_ID = varScenarioID)), {ID: Value(IDLabel.Text), AXIS: Text(varAxis),SITE: varSite, SCENARIO_ID: varScenarioID, START_DATE: DateTimeValue(TextInput1.Text), END_DATE: DateTimeValue(TextInput2.Text)})
