Skip to main content

TBasedxReportLink.LoadFromIniFile(string) Method

Loads the report link’s format settings and start page from an INI file.

Declaration

procedure LoadFromIniFile(const AFileName: string); overload;

Parameters

Name Type
AFileName string

Remarks

The first overloaded variant of this method loads report link settings from an INI file specified by the AFileName parameter. Settings are loaded from the section, labeled by the report link’s name. You can specify the full path to the file or a path relative to an application’s starting folder.

The second overloaded variant of this method loads the report link’s settings from a specified section of a certain INI file that is currently open. AIniFile and ASection specify the INI file and section, respectively. This overloaded variant is called internally by the first overloaded variant and the LoadFromRegistry method, which pass the default parameter values. By default, only the report link’s format settings and start page are saved. You can override the LoadFromIniFile method in TBasedxReportLink descendants, to load any additional data.

To save the report link’s settings to an INI file, call the SaveToIniFile method.

See Also