M
Mike Boozer
My AddRecord control does a lot when clicked. It makes a number of other
controls Enabled=-False until the new record is entered. What if the user
clicks AddRecord and then changes his or her mind? A number of controls have
now been disabled with the AddRecord on_click event. Escape does not work.
Neither does DoCmd.CancelEvent or Me.AddRecord.Cancel=True.
I tried simply DoCmd.Requery for the cancel button but this cycles through
all the records and screws up my custom Leban navigation record button
record counts. My best fix so far is simply on click, go to previous record.
This re-enables all of the disabled controls. Only problem is that clicking
the cancel button again goes to another previous record and so on. Any help
is muuucho appreciated. Thanks.
controls Enabled=-False until the new record is entered. What if the user
clicks AddRecord and then changes his or her mind? A number of controls have
now been disabled with the AddRecord on_click event. Escape does not work.
Neither does DoCmd.CancelEvent or Me.AddRecord.Cancel=True.
I tried simply DoCmd.Requery for the cancel button but this cycles through
all the records and screws up my custom Leban navigation record button
record counts. My best fix so far is simply on click, go to previous record.
This re-enables all of the disabled controls. Only problem is that clicking
the cancel button again goes to another previous record and so on. Any help
is muuucho appreciated. Thanks.