Report files are given the default extension fr3.įrxReport1.LoadFromFile('c:\1.fr3') frxReport1.SaveToFile('c:\2.fr3') įrxReport1->LoadFromFile("c:\\1.fr3") frxReport1->SaveToFile("c:\\2.fr3") Saves a report to a file with the specified name.
Procedure SaveToFile(const FileName: String) Procedure LoadFromStream(Stream: TStream) If the file is loaded successfullyit returns True. If the second parameter equalsTrue and the file is not found then an exception is raised. Loads a report from the file with the specified name. If youdecide to store a report form in a file or in a BLOB-field in a DB (which improves flexibility inthat the report can be modified without having to recompile the program) you would have touse TfrxReport methods for loading or saving the report:įunction LoadFromFile(const FileName: String ExceptionIfNotFound: Boolean = False): Boolean In most casesnothing else is required and you would not need to take any action to load the report.
Manual v1.2.0īy default, a report is stored together with the project form, i.e. 388 Saving and loading a style libraryįastReport v4 1998-2012 Fast Reports Inc. 377 Modifying/adding/deleting a styles set 376 Displaying a list of style sets, and application of a selected style 299 Passing a variable value in TfrxReport.OnGetValue 2124 MDI architectureĬhapter II Working with a list of variables 23
1415 Constructing a report with the help of code 6Numbering of pages in a composite report 59 Building a composite report (batch printing) Chapter I Working with the TfrxReport component 2