RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterField.ImplUpdateValue Method

Called to update the adapter field's value with a value entered by the end-user.

Pascal
procedure ImplUpdateValue(AActionRequest: IActionRequest; AFieldIndex: Integer); override;
C++
virtual __fastcall ImplUpdateValue(IActionRequest AActionRequest, int AFieldIndex);

The ImplUpdateValue procedure updates the value using the given action request. The AfieldIndex parameter is used to extract the value entered by the user from the action request. First, the access rights defined for this adapter field are validated agains the rights of the end-user. If the end-user does not have rights to modify this field, an exception is raised. If the OnUpdateValue event handler is not nil, it is called to update the adapter field's value. 

 

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