You need to sign in to do that
Don't have an account?
Mahmoud Coudsi 1
Error: Compile Error: Illegal assignment from List<AggregateResult> to List<Account> at line 2 column 19
I'm getting this error message when trying to save this Apex class (embbeded SOQL query).
Any solutions ?
Any solutions ?
try this onces
List<Labs__c>acts = []... in line nuber 2 insteadof List<account> acts
i hop it helps you
let me inform if it helps you and mark it best answer
Thanks
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_SOQL_agg_fns.htm