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 / Question About Searchf...
Power Apps
Unanswered

Question About Searchfunction with a SQL Database

(0) ShareShare
ReportReport
Posted on by 3

Hey Guys,

I'm currently working on an app with an SQL Database. My function on the Item property of my Gallery is:

 

Search(Vorgang, txtSearch.Text, "Beschwerde", "Eingang", "Grund", "Vorgangsnummer")

 

Copilot suggests that there are several errors in the expression:

  1. The Search function is missing the required identifier names for the table and the search term.
  2. The Search function has additional invalid arguments, which are the string literals "Beschwerde", "Eingang", "Grund", and "Vorgangsnummer". These should not be included as arguments in the Search function.

    I've double-checked it and believe it should be correct. Am I missing something? Are there specific considerations I need to be aware of because I'm using an SQL Database and not a SharePoint list?

    Thanks for your help!

     

Categories:
  • timl Profile Picture
    37,409 Super User 2026 Season 2 on at

    Hi @SimonP2 

    The correct syntax is to not include double quotes around the column names:

    Search(Vorgang, txtSearch.Text, Beschwerde, Eingang, Grund, Vorgangsnummer)

    If you're running the Power Apps editor in German, you'll need to replace the commas with semi-colons.

    Search(Vorgang; txtSearch.Text; Beschwerde; Eingang; Grund; Vorgangsnummer)

    Hopefully one of the 2 above will resolve the issue.

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 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard