Cancelling current record

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
 
G

Graham R Seach

Neil,

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

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