| Discussion |
Remote Name: 126.96.36.199
I am trying to all error into a table and why would I need an API to set it up? Usually an ER comes with a fixed table to log all errors.
I was using a simple code like this:
USE ErrorLog SHARED IN 0 ON ERROR DO ErrorLog WITH ERROR(),MESSAGE(),SYS(2018),MESSAGE(1),; SYS(16),PROGRAM(),LINENO(),LASTKEY(),VARREAD(),WONTOP()
The attached prg is the actual code. I wanted to get that capably plus the additions of your er.
I thought by instantiating your class It wil right the above plus others. I was trying to figure what class will do just that. But I guess your design is different.
I would create a simple form and show how to start this class without getting in all of that details. It just an ER<s>
Also when I pick a dialog file how would it recognize those fields where to log into.