Also when i edit field 1,2,3,4 from Child Object i want to copy that value in Main Object field 1,2,3,4.
What suggestion do you have for this problem?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
You have some ways to solve it.
If the fields can be editable only in one object, you can use a Formula field.
If you want that these fields will be editable in both objects I suggest you to use a workflow rule, a flow or a Process Builder. Also, if you want to code, you can use a trigger for this.