How to fill the data dictionary programmatically?
Question: How to fill the data dictionary programmatically?
Answer:
All variables and categories from data dictionary stored in TfrReport.Dictionary.Variables.
1 2 3 4 5 6 7 8 |
with frReport1.Dictionary do begin // creating category (space in category name required!) Variables[' New category'] := ''; // creating variables Variables['New Variable'] := 'CustomerData.Customers."CustNo"'; Variables['Another Variable'] := 'Page#'; end; |