Hello,
I’m trying to write a small agent using FTSearch however I need FTSearch to qualify for two citerias:
In the domino designer help I have found this example:
Set collection = db.FTSearch(“alpha OR beta”,0)
and I’m trying now to make it work with a variable and a string. However I just can’t figure out what code I need.
Dim classes As Variant
Dim collection As NotesDocumentCollection
classes = doc.VNr_disp_lookup
Forall classNr In classes
Set collection = db.FTSearch(classNr, 0)
If I use it like this it works but now I need to have another criteria to be fullfilled
Set collection = db.FTSearch(classNr " AND f_studienplan", 0)
But that won’t work. I need a way to combine the value of the variable classNr with the other part of the string.
Anyone can help there?