
Has the Eval function quit working in 97??
The Eval function is supposed to evaluate Access/VBA expressions which
result in a string or numeric value. This includes expressions which
contain built-in functions, such as "Int()" or "Rnd()". But in Access 97,
it seems that passing the Eval function an expression which contains a
function call only works as long as the Eval function is being executed
from a module in the CURRENT database. If it is placed in an Add-In ".mda"
database, and that database is started as an Add-In (from the
"Tools/Add-Ins" menu) then the Eval function fails with error code 7960:
"There was an error compiling this function. The Visual Basic module
contains a syntax error. Check the code, and then recompile it."
This used to work in Access 95. Has MS ruined the Eval function in 97, or
am I doing something wrong?
Comments will be much appreciated.