User Searched Values How to Get and Print on Report

Hello,

I am developing a PDF report, which is search enabled. So when we click to generate report, it first ask us to pick two dates between we want this report. How can we print these use picked dates on the report?

Sub heading of report shows “Report for period <begining date> to <ending date>.” So my problem is that how can I get these two dates which user has entered while searching report in between two dates.

Thanking you.

As a first reaction I thought to use global or custom variables and put them on your pdf report. You can modify position of a field changing x/y coordinates. We have created reports like that using a pdf background and layered the data over it. But the truth is that I find it very complex and often I generate an html report and use htmltopdf routine to get my pdf. The advantage is that I have full control …