cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Premwong13
Level: Powered On

Check a condition if with Data Card Value

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() )

 

I do need some suggestion.

Thank you so much

2 REPLIES 2
Highlighted
SilvesterP
Level: Powered On

Re: Check a condition if with Data Card Value

Hey! the output of BarcodeInfo and DataCardValue5.Text into 2 labels and see if there is a visible discrepency. Without knowing your data set it could be a case of capitalization preventing the match.

 

(In this instance just put both fields in an Upper([value])

 

Premwong13
Level: Powered On

Re: Check a condition if with Data Card Value

 Sorry but I dont understand , what do you mean 2 lables. The attached file is my code.

Could you tell me som guideline where should I edit?

Thank you TT 

Screen Shot 2562-06-21 at 08.05.07.png

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 310 members 6,385 guests
Recent signins:
Please welcome our newest community members: