How to use Date Range Variable in Filter

Stimulsoft Reports.JS discussion
Post Reply
nexar
Posts: 31
Joined: Tue May 02, 2017 5:55 pm

How to use Date Range Variable in Filter

Post by nexar »

I have a data source that has a date column in it. Currently I have a report which is working correctly but is showing me all data. I have now created a datatime variable as a Range and called it DateRange. In the Filter for the DataBand I have chosen the date field from my data source and set the condition to Between. However I'm not sure how to then tell it to use the DateRange variable's From and To fields?

Please advise.

Thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to use Date Range Variable in Filter

Post by Alex K. »

Hello,

You can use the From and To properties:
{Variable.From}
{Variable.To}

Thank you.
nexar
Posts: 31
Joined: Tue May 02, 2017 5:55 pm

Re: How to use Date Range Variable in Filter

Post by nexar »

Hi Aleksey

I've tried what you suggested but it is not working. I have sent a copy of the report + some test data to your support email address with the Subject Line:

Date Range Filter doesn't appear to work

Thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to use Date Range Variable in Filter

Post by Alex K. »

Hello,

Thank you. Wi will reply to you by email.
usman
Posts: 2
Joined: Mon Feb 10, 2020 5:46 am

Re: How to use Date Range Variable in Filter

Post by usman »

I also need to know, because I am stack in the same problem please and I have sent email to the stimulsoft team too
Lech Kulikowski
Posts: 6458
Joined: Tue Mar 20, 2018 5:34 am

Re: How to use Date Range Variable in Filter

Post by Lech Kulikowski »

Hello,

Please send us your request with detailed description on support@stimulsoft.com. We will check it and will reply to you by email as fast as possible.

Thank you.
Post Reply