RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.AddRecordKeysHiddenFields Method

Defines hidden field(s) that pass key values in the HTTP request when an HTML form is submitted.

Pascal
procedure AddRecordKeysHiddenFields(AHiddenFields: TAdapterHiddenFieldsList);
C++
__fastcall AddRecordKeysHiddenFields(TAdapterHiddenFieldsList AHiddenFields);

Descendant adapters may use key values to define the relationship between values in the HTTP request and adapter data values. For example, TDataSetAdapter supports updates to multiple detail records by using hidden fields to identify the relationship between values in the HTTP request with dataset rows. The hidden fields defined by AddRecordKeysHiddenFields are added to an HTML form using the server-side script method HiddenRecordFields.WriteFields. 

 

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