RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.UpdateFieldsUpdateValues Method

Updates the adapter's fields with values passed in the HTTP request.

Pascal
procedure UpdateFieldsUpdateValues(AActionRequest: IActionRequest; AAdapterFields: TObjectList); virtual;
C++
virtual __fastcall UpdateFieldsUpdateValues(IActionRequest AActionRequest, TObjectList AAdapterFields);

UpdateFieldsUpdateValues loops through the adapter fields passed in the AAdapterFields parameter, calling the UpdateValue function. Adapter fields raise an exception to indicate a update error. If an exception occurs, the exception message is added to the Errors object and updating continues. OnBeforeUpdateFields and OnAfterUpdateFields are at the beginning and end of this method. 

 

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