Cancelling current record

  • Thread starter Thread starter Neil M
  • Start date Start date
N

Neil M

How do you cancel the current record (which opens in a new window)

I have 2 command boxes, one is SAVE AND EXIT (works fine)
the other reads CANCEL

How do i set this to cancel the record so nothing is saved (not even
autonumber id)

Thanks.

Neil
 
Neil,

In the Click event for cmdCancel, add the following line:
Me.Undo

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 
Back
Top