Hi there,
My Gallery for "colSearchHost" is Filtered with the below. I want the result Items in ColSearchHost only if they are NOT in another list called HostSearch list.
Note "And Not(ID in HostSearch.HostsID
Search(
If(
//All
TyepOfStayDropdown.Selected.Result="All" ,colSearchHost,
//Selected Stay Types
TyepOfStayDropdown.Selected.Result<>"All" ,
Filter(colSearchHost, TypeOfStay = TyepOfStayDropdown.Selected.Result And Not(ID in HostSearch.HostID))),
//SearchBox by Surname
TextInput1.Text,"HFsurname")
The above does not work but does not give an error so Im close I feel.
I need to have the same "NOT" set for the //All and //SearchBox functions and I was hoping someone could help me. I have tried many ways but just get errors.

Report
All responses (
Answers (