Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Searching text fields not able to find comment field.

(0) ShareShare
ReportReport
Posted on by 350

 

I can't seem to find the correct syntax to search comment field.   The function cannot find the comment field below. This is a single line text. Any help would be greatly appreciated.   

Here's the code in question.  

 

Filter(OPTrack_FormsInventoryEnhancedTables, txtSearch.Text in FORM_NO || Text(dteReqDate.SelectedDate) in REQ_DATE
|| Text(dteReqDate.SelectedDate) in LAST_INVEN || txtComment.Text in COMMENT);

 

  • rroque Profile Picture
    350 on at
    Re: Searching text fields not able to find comment field.

    Yes I did found the problem and fixed it.

    The fix was to add the comment field to the items property of the list. Thank you.  

  • rroque Profile Picture
    350 on at
    Re: Searching text fields not able to find comment field.

    Hi @anandm08 thx again.  I tried your code but no difference. I don't know what else I can check.

    Revised code.

    Filter(
    OPTrack_FormsInventoryEnhancedTables,
    txtSearch.Text in Text(FORM_NO) ||
    txtSearch.Text in Text(REQ_DATE) ||
    txtSearch.Text in Text(LAST_INVEN) ||
    Lower(txtSearch.Text) in Lower(COMMENT)
    )

     

  • anandm08 Profile Picture
    1,936 Super User 2025 Season 1 on at
    Re: Searching text fields not able to find comment field.
    Filter(
     OPTrack_FormsInventoryEnhancedTables,
     txtSearch.Text in Text(FORM_NO) ||
     txtSearch.Text in Text(REQ_DATE) ||
     txtSearch.Text in Text(LAST_INVEN) ||
     Lower(txtSearch.Text) in Lower(COMMENT)
    )

    try this

  • rroque Profile Picture
    350 on at
    Re: Searching text fields not able to find comment field.

    hi @anandm08 

     

    Here's the revised code. 

     

    Filter(OPTrack_FormsInventoryEnhancedTables, txtSearch.Text in FORM_NO || Text(txtSearch.Text) in REQ_DATE
    || Text(txtSearch.Text) in LAST_INVEN || Lower(txtSearch.Text) in Lower(COMMENT));

  • rroque Profile Picture
    350 on at
    Re: Searching text fields not able to find comment field.

    Here's the revised code.  I included you lower instruction code.  

    Filter(OPTrack_FormsInventoryEnhancedTables, txtSearch.Text in FORM_NO || Text(dteReqDate.SelectedDate) in REQ_DATE
    || Text(dteReqDate.SelectedDate) in LAST_INVEN || Lower(txtComment.Text) in Lower(COMMENT));

  • rroque Profile Picture
    350 on at
    Re: Searching text fields not able to find comment field.

    @anandm08 Thank you for the lower code. I tried the lower code and it is not finding my comment field.  

  • rroque Profile Picture
    350 on at
    Re: Searching text fields not able to find comment field.

    Also the lower example isn't delegable. 

  • rroque Profile Picture
    350 on at
    Re: Searching text fields not able to find comment field.

    Here are the advanced properties.

    rroque_0-1718279336480.png

     

  • anandm08 Profile Picture
    1,936 Super User 2025 Season 1 on at
    Re: Searching text fields not able to find comment field.

    hi @rroque ,

    there might be potential issues like case sensitivity or exact match requirements. Some systems might require an exact match, meaning that if txtComment.Text contains "hello", it will only match a COMMENT field that contains "hello" exactly and not "Hello" or "hello there".

    Here's how you might adjust the syntax:

     

    Lower(txtComment.Text) in Lower(COMMENT)

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1