Hi!
I´m building an inventoryapp where im using the Bar and QRcodescanners.
I´m scanning barcode that is Serialnumber on computer, then I directly want the app to change to QR code scanner where I scan an QR code that will be the Title on the computer.
I then have a customer column where I manually write the customer.
Two choice columns where I manually choose chargingtype and Modell.
Then I press upload to sharepoint where it uploads everything.
But how can i first scan the barcode followed directly with a qr codescan to scan Title and keep doing this in a loop until i press back. I wan´t to be able to multiscan plenty of barcode+qr, barcode+qr, barcode+qr and so on.
My uploading code thus far:
ForAll(
collectMultiScan;
Patch(
'Tablets Original';
Defaults('Tablets Original');
{
'Name (Title)': ThisRecord.BarcodeInfoQR;
Serialnumber: ThisRecord.BarcodeInfo;
Customer: DataCardValue20.Text;
Chargingtype: DataCardValue21.Selected;
Modell: DataCardValue22.Selected
}
)
)
I now have two buttons where i first scan barcode and another one for qr, but they ending up in different rows in Sharepoint.
Collect(collectMultiScan; {BarcodeInfo: BS_Single_2.Value; Serialnumber: Gallery1})
Collect(collectMultiScan; {BarcodeInfoQR: BS_Single_QR_2.Value; Title2: Gallery1})
It would be awesome to just have one button to scan bar and qr multiple times until I back out.
Please help!