error description

  • Thread starter Thread starter pierre
  • Start date Start date
P

pierre

Hi all

In a table i logg the error event generated by a program.
I memorise the err.description in a 80 char field

I would prefer to logg the err.number

When i consult the table, i am looking for a way to transfor an error
number in an error description.

Is there a function to do that?
 
pierre said:
In a table i logg the error event generated by a program.
I memorise the err.description in a 80 char field

I would prefer to logg the err.number

When i consult the table, i am looking for a way to transfor an error
number in an error description.

Is there a function to do that?

No, but there is a function to go the other way, at least
for the Access errors.

Just log Err.Number in the table. Then when you use a query
to look at the table, use a calculated field:

Descr: Error(errnumberfield)
 
Back
Top