i tried that i got a type mismatch error - so i guess you have to execute
the whole thing in one shot..
jt
"Lance Wynn" <la********@N.O.S.P.A.M.hotmail.com> wrote in message
news:Ot**************@TK2MSFTNGP12.phx.gbl...
Would this work (I haven't tested)?
functionString = d.Item("create_contract_function_name") 'set variable
for the create contract function name that was retrieved
functionString = functionString & "(param1, param2)"
output_value=Execute(functionString)
"JT" <jt@nospam.com> wrote in message
news:eG**************@TK2MSFTNGP09.phx.gbl...
what is the correct way to dynamically build a call to a function in asp?
i have the name of the function i want to call in a dictionary object, this
works to execute the function but the output_value variable does not get
set. any ideas??
functionString = d.Item("create_contract_function_name") 'set variable
for the create contract function name that was retrieved
functionString = "output_value = " & functionString & "(param1, param2)"
Execute functionString