TMemDataset.LoadFromFile procedure
Loads the content for the dataset from the specified file name.
Declaration
procedure LoadFromFile(const AFileName: string)Arguments
AFileName | File name with the content loaded in the method. |
Description
LoadFromFile is used to load the content for the dataset from the specified file name. LoadFromFile creates a TFileStream for the file name specified in AFileName. The file stream is passed to LoadFromStream to load the contents of the file into the in-memory dataset. The file stream is freed prior to exiting from the method.
Use SaveToFile to save the contents of an in-memory dataset to a file on the local file system.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
