Forum Stats

  • 3,752,481 Users
  • 2,250,508 Discussions


Validation in deleting records from classic report

Prakya Member Posts: 22
edited Apr 5, 2016 5:40AM in APEX Discussions

Hi. I have a Classic Report Region with 6 Columns and the first column is the check Box and I have a Delete button in that Region. What I want to do is,
case 1: If no data available in the classic report and I click on Delete button, I should get 'no data available to delete' warning.
case 2: If data is available in the report and no check box is selected, when clicked on Delete button I should get 'Please select at least one record to delete'.
case 3: If data is available and the rows to be deleted are checked, when clicked on Delete button, the checked records should get deleted.
What is the best way to achieve this?

This discussion has been closed.