Hi,
I have a collection with 1 calculated column. In the corresponding data table, on selecting a row, I display a form with the values to edit 2 fields. On clicking an icon, I am trying to use the Patch command to save the values back to the data source. However, I get an error "The specified column "Ageing" does not exist". 'Ageing' is the calculated column.
Can somebody help pls?
On clicking a button, the following collection is created:
ClearCollect(collTempAgeing, Filter(ProjectActivity, IsBlank(Activity_Completion)));
ClearCollect(collActivity_Pending, AddColumns(collTempAgeing,"Ageing",DateDiff(DateValue(Activity_Date),Today())&" days"));
SortByColumns(collActivity_Pending,"Project")
On clicking the icon, I am trying to save the updated values by:
Patch(ProjectActivity,dtblPendingActivity.Selected, {Activity_Completion:dtPendingEndDate.SelectedDate, Activity_Description:txtPendingDetails.Text})