Hi,
I have a collection to collect all changes in my gallery and to patch them in my dataverse. I use 2 CheckBoxes, one to know if the value is active, the other if it's a time value and 2 TextInput.
It's impossible for me to collect data,
I use this formula :
If(
ThisItem.'Unité (ix_uniteid)' in colTaskUpdatesUnité.'Unité (ix_uniteid)';
Update(
colTaskUpdatesUnité;
LookUp(
colTaskUpdatesUnité;
'Unité (ix_uniteid)' = ThisItem.'Unité (ix_uniteid)');
{
'Unité (ix_unite)':TextInputCanvas4.Value;
Activé: CheckboxCanvas3.Checked;
Coef: Value(TextInputCanvas3_1.Value);
Temps: CheckboxCanvas3_1.Checked;
'Unité (ix_uniteid)': ThisItem.'Unité (ix_uniteid)'
}
);
Collect(
colTaskUpdatesUnité;
{
'Unité (ix_unite)':TextInputCanvas4.Value;
Activé: CheckboxCanvas3.Checked;
Coef: Value(TextInputCanvas3_1.Value);
Temps: CheckboxCanvas3_1.Checked;
'Unité (ix_uniteid)': ThisItem.'Unité (ix_uniteid)'
}
))
And I have this error:
"Type incompatible. The collection cannot contain a value of this type."
I think the CheckBoxes are the problem, but I can't say for sure.
Thanks,
Tom Victor