|
RAD Studio VCL Reference
|
Lists the names of the objects that encountered the errors in the list.
property FieldNames [I: Integer]: string;
__property AnsiString FieldNames[int I];
Use FieldNames to access the name of the object associated with a specified error. FieldNames values typically reflect the name of an adapter field that was the cause of the error. However, they can be any object reference for which there is a defined Variable that can be accessed from server-side script. If there is no object associated with an error, the value of FieldNames is an empty string.
I is the index of the error in the list, where 0 specifies the first error, 1 specifies the second error, and so on.
The value of FieldNames for an error is set by the AddError method when the error is added to the list.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|