Event not Firing in MS Access VBA
问题 I have a form in MS Access which has an image. The image has an Click event which opens a modal form. The modal form has an OK and Cancel button. When you click the OK button, an event is supposed to fire which tells the main form which button was clicked. (This is to simulate the DialogResult functionality in C#). However, the code in the event handler never runs. The modal form has the following in the general declarations: Public Event OnDialogBoxClose(NewRecordID As Long, DialogResult As