ErrHandler Forum

  | Discussion |

Bottom | Unframe

Trying to figure your ER

From: Discussion
Keywords: ErrHandler
Remote Name: 24.184.163.188
Remote User:
Date: 03/09/02
Time: 22:33

Comments

Hi There,

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.

Regards,

Doron

 

| Top | Unframe | Help |

 | Contents | Discussion |


Brought to you by SpaceTime Systems.  All rights reserved.