I'm with Twinny on this. It looks very much like your Event Procedure is not set to be called for the appropriate event. A quick way to fix this, assuming the name of the Event Procedure is correct and matches the name of the Control, is to Cut and Paste all the code from the module. The act of Pasting it back in causes Access to assign the correct properties automatically for validly designed and named Event Procedures.
You can test if it's properly set by putting a breakpoint (See Debugging in VBA.) on the line after the
Also, though it shouldn't make too much difference, your Immediate Pane is scrolled off to the right when you took the last picture so would miss the start of any text printed there. As Twinny says, copy the contents instead.
You can test if it's properly set by putting a breakpoint (See Debugging in VBA.) on the line after the
Debug.Print
line.Also, though it shouldn't make too much difference, your Immediate Pane is scrolled off to the right when you took the last picture so would miss the start of any text printed there. As Twinny says, copy the contents instead.
Comment