EPUB | CHM | PDF

TPSQLDirectQuery.Methods.FieldValues

Top Previous Next

Returns field value by it index.

Syntax:

property FieldValues[aIndex : integer]: string;

Description:

Use FieldValues to get value of field with index aIndex in active record.

      • All field values are returned as strings when using TPSQLDirectQuery component for performance reasons.
      • NULL field's values are returned as empty string. Use FieldIsNull() method to distinguish empty string values from NULL values.

See also: FieldsCount property, FieldIsNull(), FieldValueByName() methods