>VFP 7 SP 1
>
>Right now when an error occurs in my app. I add it to a table with the following information : ERROR(), MESSAGE(), message([1])
>
>What other information could or should I add to that table?
>
>What would you guys suggest as the best error trapping function?
Denis,
I capture not only the callstack, line number, and message, but the version of the program, the Windows version, and the user name as well.
My programs run locally, but the error table is on a network drive. The loader program checks the network for a newer version. That's why I get the program version. If the file wasn't properly copied to fix a known problem, this information helps me contact the user and tell them how to fix it.
George
Ubi caritas et amor, deus ibi est