RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapterField.ImplGetPrevValue Method

Provides the underlying implementation of the GetPrevValue method.

Pascal
function ImplGetPrevValue: Variant; virtual;
C++
virtual __fastcall Variant ImplGetPrevValue();

The GetPrevValue calls ImplGetPrevValue to obtain the value of this field as it should appear in a hidden field on an HTML form. 

ImplGetPrevValue checks the EchoActionFieldValue property, and if it is true, returns the value for this field that appears in the current request. If EchoActionFieldValue is false, ImplGetPrevValue returns the current value of the associated dataset field. 

If ImplGetPrevValue is unable to obtain a value (if the current request does not include a value for this field or if this field can't locate the associated dataset field), it returns an unassigned Variant. 

 

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