I have a report with two parameters. Start Date & End Date.
The User enters the dates in the Preview courtesy of AutoSearch.
I want to show the dates entered for the Parameters in the Header but I can't figure out how to retrieve them.
Any assistance appreciated.
Ian
Comments
In the Header.BeforePrint, set the caption of a label to the value of the report parameter.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
So I added..
procedure HeaderBeforePrint; begin Label5.Caption := Report.Parameters['StartDate'].Value; end;
but I get a "Error: HeaderBeforePrint, Line 3: Expected:'(' or '[' but found 'value' instead." message :-(
Regards,
Ian
Cheers.
Ian
In our software I can use only @KOD variable, which is not documented in Report Designer.