fat controller
Slightly round the bend..
- Local time
- Today, 02:52
- Joined
- Apr 14, 2011
- Messages
- 758
I have a form which has an On Current event which basically sets various items visible (or not) depending on the values of some of the fields. Previously, this was taken care of by the On Open event, but I needed it to refresh after data changed in a pop-up sub-form (see this thread
Now, that all works just fine, however the delete record button no longer works. Stepping into the code, it appears that the On Current event is stopping the record from being deleted.
Is there any way to either suppress the On Current event when the delete button is clicked, or close the form after capturing the record ID and then delete the record at table level before re-opening the form again?
Now, that all works just fine, however the delete record button no longer works. Stepping into the code, it appears that the On Current event is stopping the record from being deleted.
Is there any way to either suppress the On Current event when the delete button is clicked, or close the form after capturing the record ID and then delete the record at table level before re-opening the form again?