The "p_attributes" field has values like "e1 g4 b1".
Tried the following without result:
- Code: Select all
var vAttributesText1 = "e1";
var vAttributesText2 = "b1";
foundset.find()
if(vAttributesText1) {
foundset.p_attributes = "#%" + vAttributesText1 + "%";
}
if(vAttributesText2) {
foundset.p_attributes = "#%" + vAttributesText2 + "%";
}
foundset.search();
Looks like servoy uses only the second query:
select top 201 p_nr from testTable where upper(p_attributes) like upper(?)
How to handle this?