RAD Studio VCL Reference
IActionFieldValues.Values Property

Lists the values of the fields in this request as they appeared when the user sent the request.

property Values [I: Integer]: IActionFieldValue;
__property IActionFieldValue Values[int I];

Read Values to access the current value for a field. This value includes any edits that the end user may have made using the HTML form. 

I is the index of the field whose value this property identifies, where 0 indicates the first field, 1 indicates the second field, and so on. The FieldCount property provides an upper bound for this index.

Tip: Use the FieldNames property to determine the name of the field associated with a specified index.
Use Values when iterating over all the fields in the request. To obtain the value for a specific field, use the ValueOfField method instead. 


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