You need to sign in to do that
Don't have an account?
Manoprabha Palpandian
Can any one help me when i click the edit button child record values also stored how to write a code
public void editfunction() {
system.debug('editfunction inside===>'+editid);
reg1=[SELECT Id,Name, FirstName__c, LastName__c, Email__c, (SELECT Id,Name, Check_In_Date__c, Check_Out_Date__c, Hotel_Commands__c FROM Hotels__r),
(SELECT Id,Name, Arrival__c, Departure__c, Air_Commands__c FROM AirTravels__r)
FROM Registration1__c where id=:editid];
}
how to get the child record values please any one helpme how to write it.
system.debug('editfunction inside===>'+editid);
reg1=[SELECT Id,Name, FirstName__c, LastName__c, Email__c, (SELECT Id,Name, Check_In_Date__c, Check_Out_Date__c, Hotel_Commands__c FROM Hotels__r),
(SELECT Id,Name, Arrival__c, Departure__c, Air_Commands__c FROM AirTravels__r)
FROM Registration1__c where id=:editid];
}
how to get the child record values please any one helpme how to write it.