OPERATION ABORTED
Is not an access violation, it is an exception that you raised by calling
Abort;

If you check the help file you will see that abort simply raises a silent exception.
i.e. an exception that does not produce the default exception dialog.

Clive

Thanks for the reply.
Actually this particular code taken care of refreshing dataset, will execute only in two scenarios.
scenario 1 : Pressing F5
scenario 2 : Using shortcut key ( Ctrl + f )
For pressing f5, its working fine as u said the 'Silent exception' occurs. In second scenario alone it returns an access violation.

Not sure how you expect us to help if you do not post the relevant code.
Your original post says nothing about F5 or (Ctrl + f), the code behind them or
the context in which they are called. It only references the coded
response of OPERATION ABORTED.

Not sure how you expect us to help if you do not post the relevant code.
Your original post says nothing about F5 or (Ctrl + f), the code behind them or
the context in which they are called. It only references the coded
response of OPERATION ABORTED.

Are you sure FDM is actually assigned (as oppose to simply not nil)?
Delphi naming conventions would indicate that FDM is a private field of a class.
If that is true, you should not be accessing it from a procedure that is not a method of the same class.

[ALSO]
What is the code for mrYes (InvokeSave) and mrCancel (Cancel)?
It would seem that you are doing something in both methods that avoids the AV.