1) Wrap Set Field by Name in Get Searchable Fields
If[IsValidExpression($fieldName) and
If( PatternCount(FieldType(""; $fieldName); "Date"); GetAsDate($searchWord)≠"?"; 1) ]
...
End If
2) Adjust field viability test in FlexSearch Find to be:
RightWords(LeftWords( FieldType ( $fileName ; $field ) ; 2 ); 1) ≠ "Container"
1) Wrap Set Field by Name in Get Searchable Fields If[IsValidExpression($fieldName) and If( PatternCount(FieldType(""; $fieldName); "Date"); GetAsDate($searchWord)≠"?"; 1) ] ... End If
2) Adjust field viability test in FlexSearch Find to be: RightWords(LeftWords( FieldType ( $fileName ; $field ) ; 2 ); 1) ≠ "Container"