Need a quick help - on delete row

Need a quick help - on delete row

Hi All,


      I have a form Packing List. In Packing List there is a SubForm "Block Packing List".

When i select some item in "Block Packing List" and Submit, that item exists in the other form "List of Items" changes to 'Packaged' Status.

When i delete some row in "Block Packing List" i'm changing back that item to 'Available' Status. Everything is fine upto here.

Now the Problem is when i delete some row and do a cancel, that item changes to 'Available' Status and that row remains same in "Block Packing List".

So i'm deleting that record in "Block Packing List" on delete row itself though you cancel it.

The way i need is, when you cancel, everything has to remain same.


kmkr :)