Page 1 of 1

find-search with operator 'AND' [servoy 5.2.12]

PostPosted: Mon May 14, 2012 3:07 pm
by sceresini
Hi guys
In Servoy 5.2.12 there is a way to do a controller.find() excluding some values?
I make an example

controller.find();
cod_tariffa = '!40100032||20000007';
var num = controller.search();

returns me all records that have 'cod_tariffa' different from 40100032. If I wanna exclude also cod_tariffa = 20000007 I try with this code

controller.find();
cod_tariffa = '!40100032&&!20000007';
var num = controller.search();

but Servoy can't understandm the code and lauch a find-search without parameters.

I'm wrong with something or it's Servoy that in this version doesn't admitt this sintax???


Thanks to all!