I want to build a feature into an access form that works like a macro...
The user clicks a button to trigger the program to start "recording" button events. Then the user goes through a series of common steps on the form that mostly involves hitting additional buttons. While the user hits these buttons, the program is saving events in a table. When the user finishes his work, he presses another button to end the "recording" process.
Now the user can hit a "play" button and the access form will automatically repeat all the events that were recorded.
I understand how to accomplish most of this but I don't know how to write a subroutine that calls another subroutine through a variable. Something like this...
Call VariableThatHoldsNameOfSubroutines
If I try something like this, Access assumes the variable is actually a subroutine and gives me an error.
I hope I explained this well enough that someone understands. Does anyone know how to address this?