Dropping Changes

  • Thread starter Thread starter Graham Naylor
  • Start date Start date
G

Graham Naylor

Hi,

I have a form on which is a subform, during adding a record to the subform a
number of data checks are made, in one extreme scenario I wish to warn the
user they can't continue (easy with a Message Box) and then delete the
record they are trying to add.

Is there a quick way of doing this, I don't want to just clear the fields
but make if appear as though the user has done nothing (The same as if they
had pressed Escape)?

Thanks

Graham
 
Graham said:
Hi,

I have a form on which is a subform, during adding a record to the
subform a number of data checks are made, in one extreme scenario I
wish to warn the user they can't continue (easy with a Message Box)
and then delete the record they are trying to add.

Is there a quick way of doing this, I don't want to just clear the
fields but make if appear as though the user has done nothing (The
same as if they had pressed Escape)?

Thanks

Graham

Me.Undo
 
Back
Top