Date Picker Range for Report

Stimulsoft Reports.PHP discussion
Post Reply
Joyfulness
Posts: 7
Joined: Wed Oct 02, 2024 9:27 am

Date Picker Range for Report

Post by Joyfulness »

Hello,

I am trying to add a date range picker to a report.

Could you advise how I could achieve this? I have attached a screenshot to this submission.

Can you advise if I have the setting correct to implement a date picker filter?

Could you please advise on the syntax required for the 'From' and 'To' expressions?
Screenshot 2024-11-28 at 11.18.30.png
Screenshot 2024-11-28 at 11.18.30.png (149.25 KiB) Viewed 5418 times
Lech Kulikowski
Posts: 7284
Joined: Tue Mar 20, 2018 5:34 am

Re: Date Picker Range for Report

Post by Lech Kulikowski »

Hello,

The type of the variable should be the DateTime, and the following expression in the filter:
DataSourceName.ColumnName >= VariableName.From && DataSourceName.ColumnName <= VariableName.To

Thank you.
Post Reply