I'm trying to filter my gallery by 2 different items.
Here is the code: (the user can type into search text box to filter on any of the fields in qoutes)
SortByColumns(Search('[dbo].[Pharmacy]',TextSearchBox1.Text,"PharmacyName","BdcOwner","ConsultantOwner","City","State","ZIPCode","NPI","StreetAddress"),"PharmacyName",Descending)
BUT, I need to integrate a filter on the entire data set regardless of what they search for.
&& Search('dbo.Pharmacy',"0",SuppressInd)
This is to look at the SuppressInd column, which contains a 1 or 0, and only display those records that are not suppressed.
Right now, i get errors.
Can anyone find a way to integrate the 2?
Thank you!

Report
All responses (
Answers (