You need to sign in to do that
Don't have an account?
Abraham kumar 4
List index out of bounds: 0
Please help me resolve this error, occuring at the below code line. how to overcome this
Line no:3 is where the error occurs.
Many Thanksin advance
Abraham
Line no:3 is where the error occurs.
if(EventId != Null){ event = [Select Id,Name from Event__c where Id =: EventId LIMIT 1]; eventName = event[0].Name; }
Many Thanksin advance
Abraham
All Answers
Please try
Your query will not return any result so you are getting this error.
If its helps, please mark as best answer so it will help to other who will serve same problem.
Thanks!
Thanks works now..
Abraham