简体   繁体   中英

SQL Reporting Services 2005 - Date field based on a user entered date?

I have a report in report services 2005 that has two date fields. The problem is that if users run this for a large section of time it uses too much resources on our server.

It is possible to only allow the end user to enter the start date and then the end date be auto populated/derived from this field (for example they enter the 1st of a month and this automatically change the end date to the last of a month.)

Yes you can do this. Hide your end date parameter, edit the expression for the default value and do a dateadd function using the startdate parameter.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM