Today and Yesterday the Default Parameters

15_The_Superhuman_Gambit

Your hero for the day!

So you might already know this, I didn’t and it kicked my ass for 30 minutes.

So you have a report deployed in reporting services, it takes date parameters, you want it to execute lets say…between Yesterday and Today…

Yesterday =Today.AddDays(-1)
Today =Today()

Cheers

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.