CPGDeveloper
Board Regular
- Joined
- Oct 8, 2008
- Messages
- 189
Hello ~
I have an MS Access application that I administer (Access FE, Azure SQL Server BE).
I have a section of code in which I call a function written in a different module and call it something like this --
iRet = Module1.Function1 (Arg1, Arg2, Arg3)
The above works -- I want to be able to call the same routine, however, using a variable, so instead of "Module1.Subroutine1", something like this --
x = "Module1.Function1"
iRet = Application.Run x, Arg1, Arg2, Arg3
I can't seem to figure out the proper syntax to make this work -- it may not be possible -- but if anyone has any insight it would be greatly appreciated. Thanks!
I have an MS Access application that I administer (Access FE, Azure SQL Server BE).
I have a section of code in which I call a function written in a different module and call it something like this --
iRet = Module1.Function1 (Arg1, Arg2, Arg3)
The above works -- I want to be able to call the same routine, however, using a variable, so instead of "Module1.Subroutine1", something like this --
x = "Module1.Function1"
iRet = Application.Run x, Arg1, Arg2, Arg3
I can't seem to figure out the proper syntax to make this work -- it may not be possible -- but if anyone has any insight it would be greatly appreciated. Thanks!