You need to sign in to do that
Don't have an account?
Abhishek_New
Save error: Initial term of field expression must be a concrete SObject: LIST<position__c>
I tried to write my first apex code....
public with sharing class HelloWorldPositionClass
{
public static void HelloWorld(position__c[] positions)
{
for(position__c[] p:positions)
{
if (p.Hello__c = null || p.Hello__c != 'world')
p.Hello__c ='World';-->Error*
}
}
}
Iam getting the error while saving--Save error: Initial term of field expression must be a concrete SObject: LIST<position__c> what does it mean ? how to solve?
All Answers