You need to sign in to do that
Don't have an account?
Krishnadas
Inserting a list: Compile Error: DML requires SObject or SObject list type:
Hi,
I have created a before insert trigger on a custom object Object1__c which will create records for another custom object Object2__c. There is a before insert trigger in Object2__c that will create records for the 3rd custom object Object3__c. Earlier I used to get governor limit errors on SOQL queries as they were inside a loop. Now I keep getting error on List size being above 1000. Could I catch and exception and show it as an error in the visualforce page. How do I caluclate for the limit.
Thanks
Krishnadas
www.steadfastglobal.com
Hey
Almost everything you need will be here: http://wiki.developerforce.com/index.php/Apex_Code_Best_Practices
Cheers,
Wes