+ Start a Discussion
siddik s 6siddik s 6 

pls help to slove this error

User-added image
Best Answer chosen by siddik s 6
Dutta SouravDutta Sourav
Replace line no 6 with this:
list<Log__c> ExparyLog= new list <Log__c> ();

 

All Answers

Dutta SouravDutta Sourav
Replace line no 6 with this:
list<Log__c> ExparyLog= new list <Log__c> ();

 
This was selected as the best answer
siddik s 6siddik s 6
Error: Compile Error: sObject type 'Log__c' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names. at line 7 column 19
Dutta SouravDutta Sourav
Hi Siddik,

You can't do "SELECT * " in SOQL, but you can generate dynamically your SOQL query with the list of all fields (Id, Name, etc...)
Secondly, Check the API names properly. 
For example, Error_Occured is a Custom Filed. It's API name must be appended by__c. Check the API Names .

Best Regards,
Sourav