cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SumanKoduri
Helper V
Helper V

Need to check whether record matches in Table

Hi

I have one pattern table that stores all the patterns of Item like starts with 

I have one text I need to check whether this text item exist in that table pattern

How can I get that whether the entered text pattern available in a table

1 ACCEPTED SOLUTION

Accepted Solutions
rimatos
Community Support
Community Support

Hi @SumanKoduri 

 

From my understanding you are trying to compare the value of a text input, and compare it with a the "patterns" stored in a certain table, is this correct?

If so, you can accomplish this by doing the following:

 

 

Let's say you have a table called patternTable_1, a TextInput box called TextInput1, and label called Label4.

 image.png

 

In this scenario you can use the LookUp function as such:

 

LookUp(patternTable_1, TextInput1.Text = Pattern , true)

 

By inserting this function into a label, it will search your table patternTable_1 for the text inserted in the TextInput1 box, and it will return either true or false depending if that specific value exists in your Table in the Pattern column.

 

Let me know if this answer helps you move forward!

 

Ricardo

View solution in original post

1 REPLY 1
rimatos
Community Support
Community Support

Hi @SumanKoduri 

 

From my understanding you are trying to compare the value of a text input, and compare it with a the "patterns" stored in a certain table, is this correct?

If so, you can accomplish this by doing the following:

 

 

Let's say you have a table called patternTable_1, a TextInput box called TextInput1, and label called Label4.

 image.png

 

In this scenario you can use the LookUp function as such:

 

LookUp(patternTable_1, TextInput1.Text = Pattern , true)

 

By inserting this function into a label, it will search your table patternTable_1 for the text inserted in the TextInput1 box, and it will return either true or false depending if that specific value exists in your Table in the Pattern column.

 

Let me know if this answer helps you move forward!

 

Ricardo

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,094)