I use Delphi XE7 , I need to check if I have inserted / edited in ClientDataSet
before closing a particular screen, but I can close the screen and it is no longer in insert / editing and even had some change in the DataSet, so I need something that indicates that you had those changes, if there is any insert / edit show a message.
I know you have the function:
if MyClientDataSet.Modified then
mensagem
But it does not work, I can control every time it appends an Append / Edit to a variable, but wanted to know if the component itself already has a function that checks.