FieldRef.VALIDATE

Guys, My friend is using recordref and fieldref and is trying to validate somthing into the fieldref like so: FieldRef.VALIDATE(data); FieldRef.MODIFY; When debugging you can see the value in the field, but when the debugging has finished the record has not been modified and the record is as it was before. We can get it working as follows: FieldRef.VALUE := data; FieldRef.VALIDATE; FieldRef.MODIFY; Does anyone know why the first way does not work? We feel this is the correct way. Alex