I have a custom object Child__c which looks up to Account. I am overriding New button of that Child__c. I am working in Classic and on click of New, I need to show some fields from Account and some fields from Child__c. I am using lightning-record-edit-form for this. Now what I am stuck at is I want to show a field of Child__c (Child_Field__c) as output field and I want to populate it's value from Account field. I already have the Account field value but don't know how I can instantiate Child__c and store the value I have in Child_Field__c and show as output field.
I Googled it and tried couple of links but it is not working.
https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.data_wire_example
Fetch Field Label in Lightning Web Components
Can anyone suggest how to do it?