Application Error Messages with variables in the Description

D

dch3

When working with errors that have descriptions that contain place holders
for object names, is there a way to retrieve the object name involved?

I have a custom error handler that displays a custom error message by
passing several parameters into a function to return a consistently formated
string for the error message...and avoid having to change millions of lines
of code if the message needs to be modified. When I pass in error such as
3200, I would like to return a complete message with the missing information.
The standard error message function uses AccessError() to get the error
description.

The record cannot be deleted or changed because table '|' includes related
records.
 
K

Klatuu

The earth is not going to self destruct.
I am going to ordr Gort to destroy the earth if its inhabitants become a
threat to the universe. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top