RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.UpdateFieldsExecuteValues Method

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

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

UpdateFieldsExecuteValues first calls LocateRequestRecord to position the associated dataset on the record identified by the parameters of the current request. It then loops through the specified adapter fields, calling on them to execute their value if they are executable. When a field is executable, the field value passed in the HTTP request is used to execute a command rather than update a value.  

If any of the adapter fields encounters a problem while trying to execute the newly specified value, UpdateFieldsExecuteValues adds a message to the Errors property indicating what problem occurred before trying to execute the next field in the list. 

AActionRequest is an interface to the current request object. 

AAdapterFields is a list of fields to execute using values obtained from AActionRequest. 

 

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