Hi everyone, Newbie Here!
Within a Form, I have Command Button that calls and executes a Public Procedure:
Sub cmdButtton_Click()
MyProcedureName1
End Sub
The above works fine, as expected.
My question is as follows:
For my application, I have defined many Procedures within a Public Module (e.g., "MyProcedureName1", "MyProcedureName2", ...)
and would like to know if there is a way to Call any of these Procedures through a single cmd Button by somehow passing
a Procedure Name (generated programmatically or through a Record Field). In other words, for each record on my Form (...where cmd Button is defined), I would like to execute a specific procedures through a single cmd Button. I trying to avoid having many unnecessary cmd Butttons on my Form.
So far, I have not been able to find a way to do this. Any help on this would be greatly appreciated.
Many thanks in advance!