• kkantha
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 5
    Replies

Hope someone can help.  Am writing a formula field in one object (B) where I want only the values associated with checkboxes on another object (A) to appear.  There may be one, two or even three checkboxes ticked in object A, so I would want some way of all the values which are ticked appearing in object B, but not the other values which are not ticked.

 

It seems that if I do an IF formula, I can only get the first ticked value in the field to appear, but not the other ticked values.  I tried using a "," separator so that a list of values would appear separated by a comma, but I couldn't get the syntax to work.  I would prefer to have each field labelled (Objective 1, Objective 2 etc), and was trying to think of a way for the field label itself not showing if the value was null, but I can't see a way to do that. This is my formula:

 

IF(Homework__r.Objective_1__c  = TRUE, Homework__r.Objectives_1__c,  IF(Homework__r.Objective_2__c  = TRUE, Homework__r.Objectives_2__c, IF(Homework__r.Objective_3__c  = TRUE, Homework__r.Objectives_3__c, IF(Homework__r.Objective_4__c  = TRUE, Homework__r.Objectives_4__c,  IF(Homework__r.Objective_5__c  = TRUE, Homework__r.Objectives_5__c, IF(Homework__r.Objective_6__c  = TRUE, Homework__r.Objectives_6__c, null))))))

 

Any help on this would really be appreciated.  Thanks!

 

Hope someone can help.  I am new to cloud/force.com.  I am trying to get text data from one object to show up in another object while it is in edit mode.  

 

Object A contains text fields (objectives).  In Object B we have a Lookup field to select a particular Object A record.  This matches a new B record to a particular A record.  Then we have formula fields for the objectives which automatically draw the text from the A record so that they can be seen in the new B record.  The idea of this is that the A record objectives are the same for every new B record associated with that A record (one to many relationship).  

 

I want the user to fill in the B record with new information and tick checkboxes while referencing the objectives that have been pulled in from the A record.  But the problem is that while we are in edit mode of the new B record, the user cannot see the objectives that will be populated from the A record until the record is saved.  Even after saving and populating those objectives fields, if we go back into edit mode to tick the checkboxes and fill in the information, we again can't see the objectives fields.

 

Anyone any ideas of how can I do this?  

I've just joined and wanted to start looking at database.com...but I can't find where to start?  Is it just not available yet...so what's the head start they were suggesting on the sign up page?