Excellent !! That did it. Thanks a lot. It would be very nice to have a wiki with all the samples for the DAL. I did found this one : http://web2py.wordpress.com/2010/05/23/some-tricks-to-use-when-dealing-with-databases/ but it didn't help me. I was not thinking about the negation.
Thanks, --

