RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDataSetAdapterField.UpdateValue Method

Updates the adapter field when the user assigns a new value.

Pascal
procedure UpdateValue(AActionRequest: IActionRequest; AFieldIndex: Integer);
C++
__fastcall UpdateValue(IActionRequest AActionRequest, int AFieldIndex);

UpdateValue updates the associated database field to a value supplied in an incoming request, if possible. 

AActionRequest is interface of the action request object. UpdateValue can use this interface to obtain information about the current request (such as the value the user assigned to this field). 

AFieldIndex is the index of this field in the set of field values that AActionRequest maintains. 

UpdateValue calls the ImplUpdateValue method, which performs the actual update. 

 

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