Kbase P37290: Error messages are not being displayed to the client.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/02/2004 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
Error messages are not being displayed to the client.
FOR EACH Statements with where clauses that generate errors do not get reported to the client.
CAUSE:
Where clauses of FOR EACH Statements get evaluated on the server and therefore any error messages that are generated are reported on the server and not passed to the client.
FIX:
To report error messages to the client, the statements that generate them must be evaluated on the client.
Example Code Snippet that evaluates on the server:
FOR EACH customer
WHERE int(SUBSTRING(postal-code,1,1)) = 2 etc....
Changing the above code to a statement that will evaluate on the client will report any error messages to the client.
FOR EACH Customer:
If int(SUBSTRING(postal-code,1,1)) = 2 etc...