[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)


Access the field's contents as a WideString value.


Source position: db.pas line 416

public property TField.AsWideString : WideString
  read GetAsWideString
  write SetAsWideString;


AsWideString can be used to read or write the contents of the field as a WideString value. If the native type of the field is not a widestring value, then an attempt will be made to convert the field value from the native format to a widestring value when reading the field's content. Likewise, when writing the property, the value will be converted to the native type of the field (if the value allows it). Therefor, when reading or writing a field value for a field whose native data type is not a widestring-compatible value, an exception may be raised.

See also



Value of the field as a variant value


Documentation generated on: May 14 2021