Adding Variable Failes
To reproduce:
Create new report
From Report Menu, Choose Variables
Add Group - call it CompanyInfo
Add Variable - Call it Company
click on the check
Add Page Header
From the Data Tree Variables Tab, drag Company to the page header
Click on PREVIEW icon
Instant error...
Help!
Doug
Create new report
From Report Menu, Choose Variables
Add Group - call it CompanyInfo
Add Variable - Call it Company
click on the check
Add Page Header
From the Data Tree Variables Tab, drag Company to the page header
Click on PREVIEW icon
Instant error...
Help!
Doug
Comments
either a string value enclosed in apostrophe ie : 'mycompany name' or an expression to be calculated or a datafield.
since it has no value when the report is previewed the tfrxreportcomponent's ongetvalue event is fired and since there is no run time delphi code for the ogv event you will get an error.
read the programmers manual about working with variables.