DAC for MySQL
TMySQLDirectQuery.Methods.FieldValueByFieldName | Previous Next |
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.