create a Account id and Contact name fields in custom object and in that fields i want to show (standard objects)Account name and its related contact name.How can we achieve this??
If Account id and Contact name are the lookup field you have created, then it will show the "Name" of the record what selected.
And if Account id and Contact name are text field, Then you should write trigger on ur object and read the both field values and do SOQL to get its name update respected value. (Write trigger on before event, where no need to do update dml)
If Account id and Contact name are the lookup field you have created, then it will show the "Name" of the record what selected.
And if Account id and Contact name are text field, Then you should write trigger on ur object and read the both field values and do SOQL to get its name update respected value. (Write trigger on before event, where no need to do update dml)
thanks
Niraj