+ Start a Discussion

Lookup Field Functionality

I have created a trigger that takes the information put into an sObject we made and creates a new event. Most of the information is added to event fine but I am having trouble with the information from a Lookup Field. Instead of putting the text found in the lookup field it displays an ID number instead.


The Lookup Field would display a name like Company X but the event would display it as 001T000000CQ5KL


Is there anyway for me to diplay the lookup field as the literal text instead of the lookup field ID?

Post your trigger code.  Sounds like you're assigning the Id to the wrong field or some such thing.  It's easier to look at w/ code.  Best, Steve.