You are here: Symbol Reference > AbTrend Namespace > Classes > TAbTrend Class > private > LoadFromFile Method
ContentsIndexHome
PreviousUpNext
TAbTrend.LoadFromFile Method
Send Feedback

This function will Load a record-list from file. All new item will be added to the existing trend-list. 

 

Pascal
function LoadFromFile(FileName: string): Integer;
C++
__fastcall int LoadFromFile(AnsiString FileName);
Parameters
Parameters 
Description 
FileName: string 
File name for the record-file 
Returns

The return Var is the IOResult-errorcode (see Delphi/C++Builder Help), returns '0' if there was no error.

Description

This will load the file 'FileName' and add's the records to the end of the existing record-list. If you call this function while recording then the recording will stop. Use 'ClearRecords' before loading if you want to load this file to an empty list. 

File format: The format of the file to store a trend is "File of SignRecord".

Related Information
Hard-& Software A.Baecker
What do you think about this topic? Send feedback!