Memory Table Abort method


I am using a DBGrid to which I have a memory table connected.I dosplay the data of memory table to the user.When the user edits the data then the same is getting posted in the database.Now when the user tries to enter say 'w' in boolean field else deletes required field of table and tries to post then access violation / exception is thrown by system.I tried to handle this by aborting the operation of memory table on the 'onposterror' event of it.It does rollback the changes but gives an exception to the user.Apart from the exception all is fine and also after the exception is thrown the application works fine there after.

Pointers to the same would be appreciated.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!