Skip to content

TField.Validate

Validate the data buffer.

Declaration

Source position: db.pas line 430

public 
procedure TField.Validate(Buffer: Pointer);

Description

Validate is called by SetData prior to writing the data from Buffer to the dataset buffer. It will call the TField.OnValidate event handler, if one is set, to allow the application programmer to program additional checks.

See also

Name Description
TField.SetData Save the field data.
TField.OnValidate Event to validate the value of a field before it is written to the data buffer.