Thanks, The problem is that the condition changes depending of the user role (in my case), so I can't stick it into the model relation. I can do this using the bindModel on the fly, but even so I can;t succeed. Basically I will have to write the SQL query ..
I will try to find better way ... but apparently not possible using the Cake query method. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
