RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.UpdateFieldsExecuteValues Method

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

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

UpdateFieldsExecuteValues loops through the adapter fields passed in the AAdapterFields parameter, calling the ExecuteValue function. Adapter fields raise an exception to indicate an error. If an exception occurs, the exception message is added to the Errors object and execution continues. 

When a field is executable, the field value passed in the HTTP request is used to execute a command rather than update a value. For example, an HTML form may contain a table with a delete row checkbox on each row. When the form is submitted, the values in the HTTP request indicate whether to delete one or more rows. Executable adapter fields must implement the IExecuteValue interface. 

 

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