You need to sign in to do that
Don't have an account?
Sameer Vits
Copy text from custom text field to custom lookup field.
I have 2 fields, one is custom text field A and second is PAP lookup field. Both fields are under Contacts. Is there a way to copy text from text field 'A' to lookup field 'PAP'? PAP lookup field is looking up to Account Name.
Hello Sammer,
what is the content of the field A ? You always need a Id for a lookup field.
Greetings Sandra
It's text type. I am actually bringing values from a picklist into this text box.
Sameer
a lookup relation always needs an Id. You can cast a string to a id in apex.
Id i = Id.valueOf(field a);
It's not working.