CRDataset::fields
Previous  Index  Next

CRFields& fields();

Return Value

The reference to CRFields object associated with the dataset.

Description

Call this member function to retrieve the fields of the dataset.

Example

  CRString address;
  // get value of the field with the name address
  address = dataset1.fields.item("Address").getString();
  // set string to the field with index 0
  dataset2.fields.item(0).assign(address);

See Also

CRFields, CRDataset::field


CRDataset | Classes | OCL | Index