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
Can i delete more than 1 record at a time from an object?
Please reply...
Regards:
REKHA
Yes you can delete more than one record at a time from an object.
But you should write custom code to do that.
Hi,
I am assuming that you wanna delete records from the list view based on selection.
In the List button javascript code, add this
{!REQUIRESCRIPT("/soap/ajax/20.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/20.0/apex.js")}
var selectedRecords = {!GETRECORDIDS( $ObjectType.Common_Usage__c )};
var result = sforce.apex.execute('CommonUsageController','deleteRecords',{arg: selectedRecords});
-------------------------------------------------------------------
You should create a global class and add this method to it.
Yes you can delete more than one record at a time from an object.
But you should write custom code to do that.
Hi,
I am assuming that you wanna delete records from the list view based on selection.
In the List button javascript code, add this
{!REQUIRESCRIPT("/soap/ajax/20.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/20.0/apex.js")}
var selectedRecords = {!GETRECORDIDS( $ObjectType.Common_Usage__c )};
var result = sforce.apex.execute('CommonUsageController','deleteRecords',{arg: selectedRecords});
-------------------------------------------------------------------
You should create a global class and add this method to it.