TMemDataset.RaiseError procedure
Raises an exception for an invalid operation in the in-memory dataset.
Declaration
procedure RaiseError(const Fmt: string; Args: Array of const)Arguments
Fmt | Format string for the error message. |
Args | Arguments used in the format string. |
Description
RaiseError is a procedure used to raise an exception for an invalid operation in the in-memory dataset. RaiseError creates an instance of MDSError with the message specified in the Fmt and Args property, and includes the following:
- Fieldtype of Field "%s" not supported
- Bookmark %d not found
- Error in data stream at position %d
- Wrong data stream marker at position %d. Got %d, expected %d'
- Filename must not be empty
RaiseError is called when a field definition uses a data type not supported in TMemDataset. The exception will be raised for the following field types:
- ftADT
- ftCursor
- ftDataSet
- ftDBaseOle
- ftFmtMemo
- ftGraphic
- ftIDispatch
- ftInterface
- ftOraBlob
- ftOraClob
- ftParadoxOle
- ftReference
- ftTimeStamp
- ftTypedBinary
- ftVariant
- ftUnknown
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
