Returns field value by it name. Syntax: function FieldValueByFieldName(aFieldName : string) : string; Description: Call FieldValueByFieldName to get value of field with name aFieldName in active record. ▪For performance reasons all fields values are returned as strings when using TMySQLDirectQuery component. ▪NULL fields values are returned as empty string. Use FieldIsNull method to distinguish empty string values from NULL values.
See also: FieldValues, FieldNames properties, FieldIsNull, FieldRawDataPointer methods |