My MS Access application has a subroutine which fires after I update one control on a form.
Public Sub cboCrew_AfterUpdate()
...do some work...
End Sub
I would like to call this same sub from a function I have defined in Module1
Function my_function()
Call cboCrew_AfterUpdate
End Function
This code throws the error: “Compile Error Sub or Function not defined”
I suspect that the problem is that I am not being specific enough, in my call to the sub.
Do I need to reference the sub with "some_modulte_name.sub_name" ?
Can anyone tell me what I am missing?
Set this up the other way around…
Re comment