Me Again - Sorry.
Hi Team,
I need to be able to retrieve the paramater and/or AutoSearchField values so I can include them on the report.
e.g. Parameters StartDate & EndDate would appear in the Report Header as:
Design:
"Report period is from " [StartDate] " to " [EndDate] "."
Which at Preview would appear on the report as:
"Report period is from 01/01/2017 to 01/02/2017."
Can you advise please?
Regards & TIA,
Ian
I need to be able to retrieve the paramater and/or AutoSearchField values so I can include them on the report.
e.g. Parameters StartDate & EndDate would appear in the Report Header as:
Design:
"Report period is from " [StartDate] " to " [EndDate] "."
Which at Preview would appear on the report as:
"Report period is from 01/01/2017 to 01/02/2017."
Can you advise please?
Regards & TIA,
Ian
This discussion has been closed.
Comments
All good now.
Regards & Tks,
Ian
Do you mind posting your solution?
brgds Bernd
--
A couple of options:
- use SystemVariable set to vtSearchDesc
- use a Label and implement the OnPrint event like this
myLabel.Caption := 'Report period: ' + Report.AutoSearchFields[0].Value + '
to ' + Report.AutoSearchFields[1].Value;
Best regards,
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Sorry, been dealing with a sick Wife.
As Nard showed.
Regards,
Ian