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
jayavani bannothjayavani bannoth 

how to get account related contacts in custom object using triggers.

Hi,
    I have one custom object it has two lookup fields account and contacts,whenever i create new record in custom object the account should be selected and the contact of the particular account should be displayed,and the record should be saved.
sowmya Inturi 9sowmya Inturi 9
Hi Jayavani,
One Account may have many contacts, Which account has to be displayed there?

Thanks,
Sowmya.
jayavani bannothjayavani bannoth
Hi Soumya thank u for ur reply,
                                      When u have list of Accounts and u get to select anyone Account then the Contacts of that Particular Account should be Displayed.