You need to sign in to do that
Don't have an account?
Hiral Patel 25
list<Contact> lstContacts =[SELECT Id,FirstName, LastName, Email, Phone, accountID FROM Contact Where accountid =: accountRecordID];
i show error in this line like Illegal assignment from List<Contact> to List<contact>
list<Contact> lstContacts =[SELECT Id,FirstName, LastName, Email, Phone, accountID FROM Contact Where accountid =: accountRecordID];
list<Contact> lstContacts =[SELECT Id,FirstName, LastName, Email, Phone, accountID FROM Contact Where accountid =: accountRecordID];
Hi Hiral,
I hope you find the above solution helpful. If it does, please mark it as Best Answer to help others too.You can use the below piece of code.
Thanks and Regards,
Sachin Arora
www.sachinsf.com