javascript - NotesDatabase search with more than 1 parameter -
i'm trying documents match codes criteria:
var allrelevant:notesdocumentcollection = db.search("sender='sender'" + "to='addressee'");
db notesdatabase have defined earlier in code. .search()
works okay 1 string (for example "sender='sender'") can't figure out how search database 2 conditions (2 strings). how can that?
the search- string @formula- syntax use in view selection formula , can contain elements allowed in context.
if @formula there logical operators:
& - , | - or ! - not
your search multiple fields be:
sender='sender' & to='addressee'
or in example
"sender='sender'" + "&" + "to='addressee'"
Comments
Post a Comment