Consultor Eletrônico



Kbase P103740: How to send error messages from a Data Base trigger back to the client in a distributed environment
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   06/05/2005
Status: Unverified

GOAL:

How to send error messages from a Data Base trigger back to the client in a distributed environment using ADM2?

FIX:

In the Data Base trigger put the message after the RETURN ERROR.
Example: RETURN ERROR "My message".
This will send the message from the DB to the AppServer log file. ADM2 code will then send back the from the AppServer side to the client side and the message will be displayed on the client screen at run time.