I have an Access application that has multiple subs to do different tasks. One sub is used to write to a log file as it works through the different processes. This sub is called from many other subs. As part of the error trapping, if there is an error the logging sub writes the error description to the log file.
Is it possible for the logging sub to figure out what variables are in memory and there values? I would like to write those to the log as well. I don't want to hardcode a reference to each variable because the error could have occurred in a handful of subs based on when the user was doing.
Any suggestions?
Thanks in advance,
sabloomer
Is it possible for the logging sub to figure out what variables are in memory and there values? I would like to write those to the log as well. I don't want to hardcode a reference to each variable because the error could have occurred in a handful of subs based on when the user was doing.
Any suggestions?
Thanks in advance,
sabloomer