function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JT-FloridaJT-Florida 

Formula - what am I missing?

Resident_Contact_Name__r.FirstName  Resident_Contact_Name__r.LastName

 

I have created a field update to a Standard field. It works with EITHER the first OR last name, but I can't include both. It generates the following error.

 

Error: Syntax error. Found 'Resident_Contact_Name__r.FirstName'

 

Any ideas?

Thank you.

jt

Best Answer chosen by Admin (Salesforce Developers) 
EnthEnth

You need to concatenate the two fields, assuming you want a space between them:

 

Resident_Contact_Name__r.FirstName + ' '+ Resident_Contact_Name__r.LastName

All Answers

EnthEnth

You need to concatenate the two fields, assuming you want a space between them:

 

Resident_Contact_Name__r.FirstName + ' '+ Resident_Contact_Name__r.LastName

This was selected as the best answer
JT-FloridaJT-Florida
Thank you! Problem solved!!! :)