Consultor Eletrônico



Kbase P31716: How to remove the field name in the field procedures?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/17/2003
Status: Unverified

GOAL:

How to remove the field name in the field<validation> procedure message?

GOAL:

How to customize the field validation error messages.

FACT(s) (Environment):

Progress 9.x

FIX:

The ShowDataMessagesProcedure in datavis.p builds and displays the error message before it is returned to the user. In order to remove the field name from the message there are two possible alternatives:

1. Override the ShowDataMessagesProcedure in the visualization object and then manipulate the error string before it is returned to the user.
2. Customize the datavis.p procedure ShowDataMessagesProcedure, perhaps by excluding it (datavisexclcustom.i) and replacing it with your own version (dataviscustom.i) with the message field names removed.