You need to sign in to do that
Don't have an account?
Sarvesh9
I am not able to access fields of Account Object inside Developer Console
Sample code written in Anonymous Window :
Account acc = new Account();
acc.Name = 'XYZ';
insert acc;
The error is shown as :
Line: 2, Column: 3, Variable does not exist: Name
Same problem is occuring with all the fields of Account object.
Rest of the object fields can be accessed using the same method.
Please Help
Account acc = new Account();
acc.Name = 'XYZ';
insert acc;
The error is shown as :
Line: 2, Column: 3, Variable does not exist: Name
Same problem is occuring with all the fields of Account object.
Rest of the object fields can be accessed using the same method.
Please Help
Looks like you have a class with the name as 'Account' please rename it and try to execute code.
Let us know if it works.
If it works mark it as the best answer.
Thanks.
All Answers
Looks like you have a class with the name as 'Account' please rename it and try to execute code.
Let us know if it works.
If it works mark it as the best answer.
Thanks.
I had a blank class in my Org.
Problem solved :)