Hi,
I am using Access 2000 and have a number of events for various controls that are not being triggered when they should be. For example, I have a command button cmdPrint_Report. The event procedure looks like this:
Sub cmdPrint_Report_Click()
'print the report to the default printer
Call Module1.Print_Report
End Sub
Occasionally, it does not fire when the button is clicked. I have to close the form or Access itself re-open it for it to start working. Also, if I delete the sub, save, then add it back and save again, it will start working. This happens for several other controls and events as well (for example, lostfocus). Seems pretty random though and I can't figure out the rhyme or reason.
Is this a bug? Has anyone else experienced this problem?
Thanks,
Bill
I am using Access 2000 and have a number of events for various controls that are not being triggered when they should be. For example, I have a command button cmdPrint_Report. The event procedure looks like this:
Sub cmdPrint_Report_Click()
'print the report to the default printer
Call Module1.Print_Report
End Sub
Occasionally, it does not fire when the button is clicked. I have to close the form or Access itself re-open it for it to start working. Also, if I delete the sub, save, then add it back and save again, it will start working. This happens for several other controls and events as well (for example, lostfocus). Seems pretty random though and I can't figure out the rhyme or reason.
Is this a bug? Has anyone else experienced this problem?
Thanks,
Bill