web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Searching text fields ...
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);

 

Categories:
  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    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)

     

  • rroque Profile Picture
    350 on at

    Here are the advanced properties.

    rroque_0-1718279336480.png

     

  • rroque Profile Picture
    350 on at

    Also the lower example isn't delegable. 

  • rroque Profile Picture
    350 on at

    @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

    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

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

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at
    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

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

     

  • rroque Profile Picture
    350 on at

    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.  

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard