Deleting Records


When deleting a record, a standard message is displayed for all screens (since they are inherited).


If you want to customize this message, just add (BEFORE the inherited delete button) the following line:


mm.varC_CustomMsg: = 'Your custom message? ';



If you need to take any AFTER EXCLUSION action based on the primary key (sequential code) of the deleted record, you can use:


ed_OldPKValue.Text: It stores the sequential code that was deleted, so you can use it in some script, for example.




Study the code referring to btnDeleteReg's click on frmBaseCRUD and frmBaseCRUDDetail to understand what is done BEFORE executing the options that inherit the respective forms.


Studying the various examples that follow RadCORE, you will be able to see variations according to the type of screen and thus help you to better understand how to apply it in your projects.

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software