On Wed, 16 Nov 2011 22:45:12 +0100, Nicolas Poulain <nico.poulain at gmail.com> sent: > (:StartSQL 01:) > SELECT COUNT(co_modu) FROM {$?Table} WHERE (interlocuteur='{$?Id}' > OR {$?Typeresp}='{$?Id}') > (:EndSQL 01:) This is kinda neat. Wish I had an answer for you, sorry.