Hello,
I have problems with the BarcodeScanner. When I try to submit my form and want to view or modify it, the DataCardValue field displays its initial record + the new one (by default a barcode has 10 digits).

And when I try to create a new request just after, the field keeps the old scan even with a ResetForm(Form2)

On the OnScan of my BarcodeScanner i put this :
Set(Barcodevar;BarcodeScanner2.Value)
And this function in the Default field of DataCardValue :
If(
Form2.Mode = FormMode.Edit && Form2.Mode = FormMode.View;
"";
Parent.Default
) & If(
Form2.Mode = FormMode.New;
"";
Barcodevar
)
Can you please help me
Best Regards,
Imade