Results 1 to 4 of 4

Thread: relate field - how to relate to something other than "Name"

  1. #1
    Socal is offline Member
    Join Date
    Jun 2010
    Posts
    18

    Default relate field - how to relate to something other than "Name"

    I have two questions.
    I have a new module and I want to display a drop down field of available "Instructors" which are located in a second module along with their "Status". These are the only 2 fields in that second module.
    I am finding that the relate seems to default to a field "Name".
    I want to relate to the "Instructor" field in that second module.

    Secondly, I only want to display in my fist module's drop down list only those "instructors" who have a "status" of 'active'.

    I am guessing code is going to be required here to try to accomplish these two tasks?

    Thanks

  2. #2
    ramesh83 is offline Sugar Community Member
    Join Date
    May 2009
    Location
    Hyderabad
    Posts
    92

    Smile Re: relate field - how to relate to something other than "Name"

    see the below thread like i had tried the same and succeeded
    http://www.sugarcrm.com/forums/showthread.php?t=59557

  3. #3
    Socal is offline Member
    Join Date
    Jun 2010
    Posts
    18

    Default Re: relate field - how to relate to something other than "Name"

    Hi,
    Sorry but that link does not seem to help me too much..

  4. #4
    Socal is offline Member
    Join Date
    Jun 2010
    Posts
    18

    Question Re: relate field - how to relate to something other than "Name"

    Struggled with this for a couple of days and not made any headway.
    Can anybody help with some pointers as to how to set up a "Relate" field to a field in another module and to have it point to a field in that module other than the default "Name" field..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 17
    Last Post: 2010-05-25, 08:04 AM
  2. Replies: 0
    Last Post: 2010-01-16, 05:52 AM
  3. Replies: 6
    Last Post: 2009-05-10, 03:58 PM
  4. Why Relate field works only on "name" field?
    By shyam007 in forum Developer Help
    Replies: 1
    Last Post: 2009-04-27, 11:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •