Data.DB.TField.Validate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Validate(Buffer: TValueBuffer); overload;
procedure Validate(Buffer: Pointer); overload; deprecated 'Use overloaded method instead';

C++

void __fastcall Validate(System::DynamicArray<System::Byte> Buffer)/* overload */;
void __fastcall Validate _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (void * Buffer)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Generates an OnValidate event.

Call Validate to validate the unformatted data pointed to by the Buffer parameter. Validate is called by the dataset when writing new values to the current record.

The value of Buffer does not affect the value of the field outside the OnValidate event handler.

See Also