RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterMemoField.ImplUpdateValue Method

Updates the adapter field with 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 of this adapter field 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 against the rights of the end-user. If the end-user does not have rights to modify this field, an exception is raised. If action request contains a string value for this adapter field, the OnUpdateValue event handler is called. If the action request contains an uploaded file for this adapter field, the OnUploadFile event handler is called. 

 

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