Guys, i'm using this code:
If (Label5.Text = "Name" && TextSearchBox2_2.Text = ""; SortByColumns(Filter (DB_Sharepoint; User = "Name1" );"Employer";Ascending);
If (Label5.Text = "Name" && TextSearchBox2_2.Text = "Divergente"; SortByColumns(Filter (BDSharepoint;Status= "Divergente";User = "Name1");"Status"; Ascending);
Search(
BD_Sharepoint;
TextSearchBox2_2.Text;
"User"
)
))
My label5 is the name registered on office 365, basicaly i'm trying to builter my galery based on who is using
If name = Ed sheeran, will show only Items from John jones
If name = Naruto, will show only items from Game of thrones.
i have 5 employers that will use this app, so i have to filter for all 5 of them, so i will need to use 10 IF's, (If;cond;true;(If;Cond;True;(If;Cond;True;.......)
And when i use more than 3 ifs inside one if, it gives me an error.
Can somebody help me with this?

Report
All responses (
Answers (