Error with db.search

Hello,

I have a realy strange Problem.

I want to search in a DB with Java.

Everything works fine when I do the following search:

sdc = sdb.search(“@Contains(Form; "eingabe")”);

But when I do this one I get an error (no message) formulaitem is a normal text field from a Notes Form. formel = sformulaitem.getValueString();

sdc = sdb.search(formel);

Any ideas ?

CU Martin

Subject: Solution

If anybody will have this problem. I spent the whole afternoon on it.

Put the formula in the notes document like this:

SELECT Form = ‘eingabe’