• JLH
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I want to create a Detail Page Link that set a custom Picklist value of the Contacts to the same custom Picklist value in an account.  That code is simple:
records[i].field__c = '{!Account.field__c}';
 
and setting to null is simple:
 
 records[i].field__c = null;
 
The problem I am having is writing a function that can do both.  I know I need to check the field__c value but I'm not sure how.
 
Thanks in advance. 
  • June 19, 2007
  • Like
  • 0