Data Tree
The Data Tree window consists from four tabs:
- Data
- Variables
- Functions
- Classes
You can dragged and dropped to the desktop all data available in the Data tree
Tab Data
On tab data you can find all datasets and their datafields.

Tab Variables
On tab data you can find variables which are of two types
1: System variables - these variable are provided by FastReport
2: User defined variables - these variables are defined by user. We will meet them later

System variable |
Description |
Date |
Current date |
Time |
Current time (without date part) |
Line |
Line number in the table. It is counted for each group on the report separately |
Line# |
Line number in the table. It is counted from the beginning of the report |
Page |
The page number that resets at the beginning of a new group if its header ("GroupHeader") properties "ResetPageNumbers" and "StartNewPage" are enabled. |
Page# |
The page number. It is counted from the beginning of the report. |
TotalPages |
The page number that resets at the beginning of a new group if its header (GroupHeader) properties "ResetPageNumbers" and "StartNewPage" are enabled. |
TotalPages# |
Total number of pages on the report. It is counted from the beginning of the report |
Note: System variables "Page" and "TotalPages" get values only when the report is generated to the end. If ye want to use them in the script, open Report settings window which is available through the “Report>Options...” menu command and on the General tab select the DoublePass setting.
Tabs Function and Classes
These tabs are mostly used by programmers.
On tab Function function are listed. We will use some of them later.
On tab Classes are listed all classes of which FastReport consists.