You need to sign in to do that
Don't have an account?
Nilesh Mane
Urgent : Bulkify this apex class. How to bring these queries outside of FOR loop?
HI Everyone,
I want to remove queries from for loop and want to bulkify my apex class, so that it wont hit governor limits.
Hi,
Please go through the link to know about how to bulkily the class and trigger.
http://wiki.developerforce.com/page/Apex_Code_Best_Practices
Thanks for responding...
I know this link..... I tried like that also but got failure....
I want to run this code for all event users, i need to check values for all users and then insert records for them.
Just tell me how i can remove this queries from for loop....
Regards,
Nil
You have asked an extremely general question, and you received a reply directing you to the best practice. If you are having trouble understanding the best practice, you need to post some of your code here before you can get more help.
Before you post your code, though, two suggestions.