function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sri123sri123 

Reg: Mass Delete

Hi    Boss,

 

I created a new custom object "student"

It has fields name(defaultfield), telugu,english.

Now i would like to delete all the selected records at once..

Can u help me.....

 

Please send code regarding to these fileds only...

 

Regards:

VVNRAO

 

 

Pradeep_NavatarPradeep_Navatar

I couldn't understand 'regarding to these fileds only'. Do you want to delete all the selected records or the data in these fields of the selected records? Please specify.

Imran MohammedImran Mohammed

I hope this thread should be helpful in what you want to achieve.

Click here

sri123sri123

I would like to delete the data of selected records

Imran MohammedImran Mohammed

You mean update the data in the records rather than the records itself.

Yes, you can do that and this thread will be helpful.

What you should do is for all the selected records, query  the fields and update each field to the value you want.

Let me know if you have any questions.