Consultor Eletrônico



Kbase P9109: How to validate one cell in an updateable browse against another cell
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/25/2003
Status: Unverified

GOAL:

How to validate one cell in an updateable browse against another cell

FACT(s) (Environment):

Progress/WebSpeed Versions

FIX:

Code Sample;

ON LEAVE OF sports2000.Invoice.TotalPaid IN BROWSE BROWSE-1 /* Browse Cell */
DO:
IF SELF:SCREEN-VALUE GT amount:SCREEN-VALUE /*What to validate against*/ IN BROWSE browse-1 THEN DO:
MESSAGE "payment cannot exceed amount".
END.
END.