Unanswered: Is there a way to replicate RunCode from a macro
I would like to be able to run a particular function without explicitly calling it in code (i.e. a=MyFunction(varA,varB) )
Background: I have a table that lists "events" and various "tasks" related to that event. In code, I would like to be able to look up each of those tasks, which are actually Functions, and run each one--basically a crude batch process.
within a recordset...
'sTask is a string ="MyFunction(varA,varB)"
However, there apparently is no DoCmd.RunCode available, but in macros, one can select RunCode and specifiy a function to run.