Pablo is right.  I remember this biting me in the ass on a work
project until someone showed me that I could pass the conditions I
wanted into findAll after all.

On 8/25/06, Pablo Viojo <[EMAIL PROTECTED]> wrote:
> Yes, I think it's that table relationships are not used when you use a query
> method. Try printing the return of the method ( print_r($result_object);)
>
> Regards, Pablo
>
>
> On 8/25/06, c_doug <[EMAIL PROTECTED]> wrote:
> >
>
> Can anyone tell me why when using a query instead of FindAll in a
> component I get and Undefined Index error? Although I get this error it
> does output an array in the debug info.
>
> I can't find any good info or examples. I am not sure if it is due to
> needing a different output in the view (element) or if the query is not
> accounting for the table relationships in the model.
>
>
>
>
>
> --
> Pablo Viojo
> [EMAIL PROTECTED]
> http://pviojo.net
>
>  >
>
>


-- 
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to