zzfive03
Programmer
- Jun 11, 2001
- 267
Hello, Is it possible to call a function whos name is contained in the string of a varable.
Example:
' - - - Front End Page - - -
<a herf='otherpage.asp?func=dosomething'>Click Me</a>
' - - - OtherPage.asp - - -
Dim MyFuncName
MyFuncName = Request.QueryString("func"
Call MyFuncName ' - - - HOW CAN I DO THIS CORRECTLY?
Sub func
'do whatever
End Sub
any help would be great
Example:
' - - - Front End Page - - -
<a herf='otherpage.asp?func=dosomething'>Click Me</a>
' - - - OtherPage.asp - - -
Dim MyFuncName
MyFuncName = Request.QueryString("func"
Call MyFuncName ' - - - HOW CAN I DO THIS CORRECTLY?
Sub func
'do whatever
End Sub
any help would be great