cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mallow
Frequent Visitor

Multiple search field on app

Hello,

 

I have multiple search field so customer can search each column separately.

The problem is I can do one serach ( Search('Table', ProducentSearch.Text, "Producent) ).

How to do in each texfield I can search separately?

I have Gallery Item

 

mallow_0-1613653122080.png

 

3 REPLIES 3
Drrickryp
Super User
Super User

Hi @mallow 

You could try something like this if all of your column types are text types

 

Search('Table', IsBlank(ProducentSearch.Text)|| "ProducentSearch.Text",
                IsBlank(NazwaSearch.Text)|| "NazwaSearch.Text",
                IsBlank(ParagrfSearch.Text)||"ParagrafSearch.Text",
etc...
)

 

 

hmm... It does not work I have error on table: Invalid argument type(Boolean). Expecting a Text value instead

HimanshuSSharma
Resolver I
Resolver I

@mallow Two ways in which I have used Search so far:

Search( Table, SearchString, Column1, Column2.....)

Search( Search( Table, SearchString1, Column1), SearchString2, Column2)

Both have different functions and different pros/cons. I think you are looking for the second fucntionality.

 

Please accept the solution if it resolves your query!!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (15,020)