D
DevDaniel
I have: Variable intProcess. The function called is based on the value of
intProcess. The functions are similar in name.
e.g.,
If intProcess = 150 then function fnCalculations150 is called,
If intProcess = 835 then function fnCalculations835 is called, ...
I want: Instead of using a large IF or SELECT CASE statement, I want to use
a variable function name.
e.g.,
strFunction = "fnCalculations" & intProcess
Call strFunction
Any suggestions?
intProcess. The functions are similar in name.
e.g.,
If intProcess = 150 then function fnCalculations150 is called,
If intProcess = 835 then function fnCalculations835 is called, ...
I want: Instead of using a large IF or SELECT CASE statement, I want to use
a variable function name.
e.g.,
strFunction = "fnCalculations" & intProcess
Call strFunction
Any suggestions?