Hi Miles, > I know that, if your read the rest of the posts I told him how to get > it for multiple clients. And if he doesn't want that way, he needs to > at least tell us his model associations.
Your first response detailed how to retrieve the most recent report for a given client, as he isn't working with a specific client it's not applicable. The second response suggests removing the conditions array, but again this doesn't solve his issue, it just retrieves every report for every client in a great big lump, not grouped by Client etc, ie from the Reports model and not the Client. Not trying to pick a fight, just think you misread the question, as he was (IMO) quite clear and did detail his associations. Is your forum plugin ready yet? Looking forward to using (BTW, I use your SQL caching method all the time, though now tied to memcached rather than the file system). Thanks, Jon -- jon bennett w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---
