DBAdapt.TBaseDataSetAdapterInputField.ImplValidateValue

From RAD Studio API Documentation
Revision as of 16:32, 16 October 2011 by TestAccount (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

procedure ImplValidateValue(AActionRequest: IActionRequest; AFieldIndex: Integer); virtual;

C++

virtual void __fastcall ImplValidateValue(Adaptreq::_di_IActionRequest AActionRequest, int AFieldIndex);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
DBAdapt.pas
DBAdapt.hpp
DBAdapt TBaseDataSetAdapterInputField

Description

Provides the underlying implementation for the ValidateValue method.

The ValidateValue method calls ImplValidateValue to validate a proposed new field value from the current request. This method raises an exception if the proposed new value is not valid.

AActionRequest is the interface of the action request object. ImplValidateValue uses this interface to obtain the new value for this field.

AFieldIndex is the index of this field in the list of fields that the action request object maintains.

ImplValidateValue looks up the appropriate value from the request. It then generates an OnValidateValue event, supplying the value from the current request and a reference to the dataset field that is associated with this adapter field.

See Also

Personal tools
Translations