
Chris
Staff

Oct 19, 2009, 12:06 PM
Post #2 of 5
(4224 views)
Shortcut
|
|
Re: [nprivette] Filter Using a Checkbox Field
[In reply to]
|
Can't Post
|
|
Hi nprivette, Try this line of code:
'where' => "category LIKE '%\tFinancing\t%'", Basically, multi-value list fields (such as multiple checkbox fields) contain a tab-separated list of values, with an extra tab on both ends to make it easy to search for a term as above. The SQL above looks for anything (%), followed by a tab (\t), followed by Financing, followed by another tab (\t), followed by anything (%). I hope this helps! Please let me know if you have any questions. Chris
|