function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
i dont want insert duplicate records in table ,how can achieve with apex code...thanks in advance
Have you looked at http://developer.force.com/cookbook/recipe/preventing-duplicate-records-from-saving ?
You can do it using maps,
Maps have key and values, where keys are "unique" and correspondingly have values, and how to populate map? you can wish to see this post
http://abhithetechknight.blogspot.in/2013/10/logic-for-maps-having-list-at-values.html
Have you looked at http://developer.force.com/cookbook/recipe/preventing-duplicate-records-from-saving ?
You can do it using maps,
Maps have key and values, where keys are "unique" and correspondingly have values, and how to populate map? you can wish to see this post
http://abhithetechknight.blogspot.in/2013/10/logic-for-maps-having-list-at-values.html