You need to sign in to do that
Don't have an account?
Anbu
Custom field automatically filled with some text
Hello guys,
In case object I have a lookup to account. I would like to write a trigger that fill a custom field e.g Account_Name__c, with the same value of the lookup but as text field. Could you help me with this? thanks!!
In case object I have a lookup to account. I would like to write a trigger that fill a custom field e.g Account_Name__c, with the same value of the lookup but as text field. Could you help me with this? thanks!!
However, to do it in a trigger would go something like this:
I haven't tested the above, so there could easily be a typo or other bug -- ymmv.