You need to sign in to do that
Don't have an account?
Confusing for me, hopefully not for you =)
Hello SFDC boards,
I have a situation, and honestly, don't know how to tackle it. So here I am looking for your expertise- and thank you in advance. =)
I have 2 objects in place: Leads & Lookup_Table__c
When a lead is created with a Zip Code value, I need the same zip code to be populated on a lookup field on the lead record. The reason I need this is to tie the Lead & LookUpTable so I can bring information on the lead record.
This is my dream process:
1) Lead gets created through web-to-lead form
2) Zip code (text) gets copied into ZipCode2__c (lookup field to Lookup_Table__c object).
3) Record Saves
4) Lead record now displays information from lookuptable on lead record. ( i have this down through formula fields)
I have tried creating #2 through a workflow but can't touch the lookup field. Everything else is in place. Can you please help me write a trigger to accomplish this (copy a field value into a lookup field)?
Thanks again!
folks,
i found a simliar situation (and solution) here: http://boards.developerforce.com/t5/Apex-Code-Development/Trigger-Update-Lookup-Field/m-p/354509/highlight/true#M62906