Back to Devexpress

TdxCustomMemData.CreateFieldsFromBinaryFile(string) Method

vcl-dxmdaset-dot-tdxcustommemdata-dot-createfieldsfrombinaryfile-x28-system-dot-string-x29.md

latest1.5 KB
Original Source

TdxCustomMemData.CreateFieldsFromBinaryFile(string) Method

Automatically creates fields by reading field definitions from a specified binary file.

Declaration

delphi
procedure CreateFieldsFromBinaryFile(const AFileName: string);

Parameters

NameType
AFileNamestring

Remarks

Call this method to retrieve all fields from a binary file specified via the AFileName parameter. This method checks the specified file for supported field types and then adds supported fields to the current ExpressMemData. To create CreateFieldsFromBinaryFile -compatible binary files, save ExpressMemData data via the SaveToBinaryFile method call.

At design time, you can use the functionality provided by the ExpressMemData Persistent Editor to create fields from a previously saved binary file (via the Get Fields… button).

See Also

TdxCustomMemData.CreateFieldsFromDataSet

TdxCustomMemData.CreateFieldsFromStream

TdxCustomMemData Class

TdxCustomMemData Members

dxmdaset Unit