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
Edwin KEdwin K 

Maximum lookup field created?



I want to ask is there any limitation for creating lookup field in 1 object? Any infromation regarding this case would be great... thanks...

Best Answer chosen by Admin (Salesforce Developers) 
Bhawani SharmaBhawani Sharma

Hi Edwin,


Your answer is 25 fields.

  • No more than 25 child-to-parent relationships can be specified in a query. A custom object allows up to 25 relationships, so you can reference all the child-to-parent relationships in one query.

You can get a detailed  explaination from here :