1
Use Delphi XE7, I need to check if you had insertion/editing in ClientDataSet
before closing a certain screen, but I may close the screen and it is no longer in the insertion/editing state and still had some change in Dataset, so I need something to indicate that you had these changes, if any insertion/editing shows a message.
I know it has the function:
if MyClientDataSet.Modified then
mensagem
but it doesn’t work, I can control every time he gives an Append/Edit in a variable, but I was wondering if the component itself already has a function that checks.
But when I close the screen and it’s not in the Insert/Edit state and it’s still changed, it’ll pass.
– Jefferson Rudolf
No, because it goes into edit state automatically after some data has been changed.
– Fabio Domingues
I managed to solve Fabio, what I needed is to know if the Tclientdataset has changed, I did not want to know what state he was in.
– Jefferson Rudolf