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
Hariharan Sankaran 7Hariharan Sankaran 7 

Auto populate

How to auto populate the look-up filed one object to another object. please could you give suggestion.
NagaNaga (Salesforce Developers) 
Hi Hariharan,

You can do it through cross object formula fields on Object B.  check this documentation on cross object formula fields....https://na3.salesforce.com/help/doc/user_ed.jsp?section=help&target=customize_cross_object.htm&loc=help&hash=topic-title

Please let me know if this helps

Best Regards
Naga Kiran
Hariharan Sankaran 7Hariharan Sankaran 7
Hi Naga,

          Thanks for your concern.
I referd your url formula field is working only for text , number, currency but I can't create look-up field using the formula field. in case i creating the  text , number, currency also this is hidden field only shows the vales in the standard salesforce, but i can't  auto populate in the visualforce page.  
My requirment is autopulate the look-up field values one object to another object using visualforce and apex class could you please suggest any other way. otherwise give me sample example document.