hi all,
I've created a canvas app with a screen from scratch for a table "Mittel_1" and I got this error message:
Issue. Incompatible type. The "Status" template in the data source to be updated expects an "OptionSetValue (Status (Mittel_1))" type, but you are using an "OptionSetValue (Status (Symptome_1))" type
Storage location
DeleteConfirmBtn3.OnSelect
Well there exists a table Symptome_1 and it's screen has the same layout as for table Mittel_1. But why does this error come up?
I don't reference table Symptome_1 in the screen for table Mittel_1! The Delete action is created by the template.
The DeleteConfirmBtn3.OnSelect entry has this code:
Remove(Mittel_1; selectedRecord);; If(IsEmpty(Errors(Mittel_1; selectedRecord)); UpdateContext( { CurrentItem: First(Mittel_1); itemSelected:false; editMode:false; newMode:false; deleteMode:false}));;
And I even don't do anything with the Status field in the screen😩 And in the table Mittel_1 the column Status looks like it is in table Symptome_1, where it simply works.
There are 3 other error messages, i.e.
The "Remove" function has invalid arguments
Any ideas?
thx