Thanks guys,

I'm using that userID just for testing purposes.

The syntax effort did not work and the find(first) workaround wouldn't
apply in this situation, but you did get me to where I needed to go. I
ordered the PhdCOllege model by 'dateleft DESC' so that the most
recent college is listed first, then I changed my query like so:

                $query = $this->PhdUser->find('all', array(
                                                        'contain'=>array(
                                                        'PhdCollege'=>array(
 
'fields'        =>array('name','degreeEarned','gpa','dateLeft','collegeID'),
 
'conditions'=>'',
 
'limit' =>'1'

                                                                                
                                                        ),

So anyway, I'll send some cupcakes to your work.
al
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to