CRField::getString
Previous  Index  Next

CRString getString();

Return Value

String value stored in the field.

Description

Call this member function to retrieve field data in the current record represented as string. The value of the field will be converted to a CRString value if possible. Throws an exception when type conversion is not possible.


Example

  CRString dName;
  dName = dataset.field("DName").getString();

See Also

CRString, CRField::setString, CRField::isNull


CRField | Classes | OCL | Index