I tested the new NotesDominoQuery class.
My szenario is a server based agent that parses and executes the query. The results are passed thru a parameter document to the calling client.
This means that I would not have to watch the console for errors and issues.
The executeQuery method returns a NotesDocumentCollection with 1-n documents according to the query result. In case of an error, this collection is nothing ( or null ).
In case of "no error I can use the explainQuery method to find out, why the resulting collection does not contain documents.
In an error condition, I can't.
Pls add a "lastError" property to the class. The underlying CApi does have a return value for that already.
-- Ulrich Krause ( eknori )