RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapterField.GetNeedPrevValue Method

Indicates whether an HTML form should include a hidden field that stores this field's value so that generated requests include the previous field value.

Pascal
function GetNeedPrevValue: Boolean;
C++
__fastcall Boolean GetNeedPrevValue();

GetNeedPrevValue returns true if the current value of this field should be included as a hidden field in HTML forms. This hidden field value then appears in requests that originate from that form so that if the form changes the field value, the previous value is still available. When GetNeedPrevValue returns true, the GetPrevValue method supplies the current field value. 

GetNeedPrevValue delegates the task of determining the need for a hidden field to the ImplGetNeedPrevValue method. 

 

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