RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDataSetAdapterInputField.OnValidateValue Event

Occurs when the parent adapter wants to validate the new value for this field.

Pascal
property OnValidateValue: TDataAdapterFieldValidateValueEvent;
C++
__property TDataAdapterFieldValidateValueEvent OnValidateValue;

Write an OnValidateValue event handler to provide your own validation of new field values before the WebSnap application attempts to update this field's value. If the new Value is not valid, the OnValidateValue event handler should raise an exception.  

The parent dataset adapter generates this event when it receives new field values from an update request message. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!