How to let user go to another page only when he scans the right barcode?

Let´s write this to the OnChange property of scanner:

  • If(
       Concat(
          BarcodeReader1.Barcodes,
          Value,
          “,”
          ) = “123456”,
       Navigate(
          Screen2,
          ScreenTransition.Cover
       )
    )

How does it work?

The scanner produces values as the array of records. You can merge it into one using Concat. And than compare it with proper value.