It looks like you're new here. Sign in or register to get started.
if recourd.get(NO) then amount:=recourd.Amount; validate(Amount);
if NO <>'' then recourd.get(NO); Amount:=recourd.Amount; validate(Amount);
IF NO <>'' THEN BEGIN IF record.GET(NO) THEN VALIDATE(Amount,record.<Value>); END;
WITH SomeKindOfRecordVariable DO BEGIN END;
Comments
record.get(NO);
validate(Amount,record.<Value>);
end;
This way you will be executing the OnValidate code of Amount field.
SB.
RIS Plus, LLC