FireDAC.Stan.Option.TFDBottomResourceOptions.ResolveFileName
Delphi
function ResolveFileName(const AFileName: String = ''): String;
C++
System::UnicodeString __fastcall ResolveFileName(const System::UnicodeString AFileName = System::UnicodeString());
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | TFDBottomResourceOptions |
Description
Returns the actual persistent dataset file name.
Use the ResolveFileName method to transform AFileName into the actual persistent dataset file name.
If AFileName is empty, PersistentFileName is used.
If AFileName does not include an extension, DefaultStoreExt is used as an extension. If DefaultStoreExt is empty, an extension is evaluated from DefaultStoreFormat.
If AFileName does not include a folder, DefaultStoreFolder is used as a folder.
Finally, all the path variables will be expanded.