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
JieMeJieMe 

soql result ,connect two fields as show

Hi All,

select firstname,lastname,from user , the soql show

firstname  lastname

David         Lee

 

but i wanna the result like this:

firstnamelastname

DavidLee

 

Best Answer chosen by Admin (Salesforce Developers) 
JieMeJieMe

like this ,there is a space between firstname and lastname.

but i find a method,bulid a customer formual field (firstname&lastname).

anyway,thank your replies.

All Answers

Prafull G.Prafull G.
If you want it specific for User object then you can use
[Select Name From User]
JieMeJieMe

like this ,there is a space between firstname and lastname.

but i find a method,bulid a customer formual field (firstname&lastname).

anyway,thank your replies.

This was selected as the best answer