I am looking at adapting a script to search an outline. I wish to restrict the search to rows at levels 1 & 2 but I can’t get the syntax correct.
Here is the line that finds the text which is contained in var strQuery
set refRows to a reference to ( rows where topic contains strQuery)
I want to use (rows where topic contains strQuery AND level <3)