RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterUpdateField.ConvertValue Method

Retrieves a value entered by the end-user.

Pascal
function ConvertValue(AValue: IActionFieldValue): Variant; virtual;
C++
virtual __fastcall Variant ConvertValue(IActionFieldValue AValue);

ConvertValue is called to retrieve, as a variant, the value entered by the user for this adapter field. ConvertValue using index 0 to retrieve a value from the IActionFieldValue parameter. Typically, IActionFieldValue will contain a string value. Descendants may override this function to caste the value into another type. 

 

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