RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapterField.ImplGetValue Method

Provides the underlying implementation for the GetValue method.

Pascal
function ImplGetValue: Variant; override;
C++
virtual __fastcall Variant ImplGetValue();

GetValue calls ImplGetValue to obtain the value of the adapter field as a Variant

If the value of the EchoActionFieldValue property is true, ImplGetValue uses the ActionValue property to obtain the value for this field that the user entered. 

If EchoActionFieldValue is false (or if the user did not enter a value for this field), ImplGetValue first generates an OnGetValue event, to allow an event handler to supply the value of the field. If there is no OnGetValue event handler, ImplGetValue returns the value of the associated dataset field.  

If ImplGetValue can't locate a value for this field, it returns an unassigned Variant

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!