So, I have user name with some personal information. However each person has there on barcode. If I scan that barcode it'll appear that person name. I named it as "BarcodeInfo". So if it match with my DataCardValue5, user will be able to click NEXT icon and the app changed to that person detail.
I used this code, but it doesnt work.
If( BarcodeInfo in DataCardValue5.Text ), Navigate([@DetailScreen1]), Back() )