Hi Randy,
randy schrieb:
I created a where clause in my custom apps that was similar to the below and
passed it to so_sql->search() $criteria param :
“col_a ilike %abc% or col_b ilike %abc% or … col_z ilike %abc% or id = 1
or id = 2or id = 3 or id = 4”
You can put that piece of sql in the filter array (with a numerical
index).
For “id = 1 or id = 2 or id = 3 or id = 4”, you can use “id in
(1,2,3,4)” or $filter[‘id’] = array(1,2,3,4).
Ralf
It appears that this is no longer supported. How do I work around when I
have to check the same column with multiple values. Such as ‘id’ above. An
array can only have one unique key. So I cannot pass an array.
Any suggestions?
thnx
randy
–
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
Geschäftsführer Andre Keller, Gudrun Müller,
Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what’s new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers