Thank you for the response.  This did the trick!!!

Now the question is how come you have to put this in?  The other views
I have display the name and not the ID without putting this in.


Thanks again for the help!

On Dec 10, 9:01 am, grigri <[EMAIL PROTECTED]> wrote:
> Would need a lot more info to be sure, but it's probably just a matter
> of setting `var $displayField = 'verb';` in models/verb.php
>
> If that's not it, please post your controller action and view code.
>
> hth
> grigri
>
> On Dec 10, 2:17 pm, "Mike W." <[EMAIL PROTECTED]> wrote:
>
> > Hi!
>
> > I know that this is simple but it's driving me up the wall and I can't
> > figure this one out.
>
> > In my database, I have two tables named 'reports' and 'verbs'.  In
> > reports, I have a field named "fk_verb_id" and in verbs, I have 'id'
> > and 'verb'.
>
> > In the 'verbs' database, I have action items like 'Examine', 'Test',
> > and 'Interview'.
>
> > When I load the view, it uses the verb_id instead of the 'verb'.  I've
> > played with my code and relations for awhile now and I can't seem to
> > figure out why it's doing it.  I've created other models, controllers,
> > and views with similar situations and it works fine with displaying
> > the actual word column instead of the ID.  I was just hoping that
> > somebody might be able to explain why it's doing this.
>
> > Thanks!
--~--~---------~--~----~------------~-------~--~----~
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