I need to default values to yesterday so when the users open the report he
does have to enter 08/22/2005. If you have some information on
how to do this would greatly appreciate.
= cdate(DateAdd(DateInterval.Day, -1, Now()).ToShortDateString & " 07:00")
= cdate(Now().ToShortDateString & " 07:00")
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Lam Nguyen" <LamN...@discussions.microsoft.com> wrote in message
news:39BB5E96-5D74-455B...@microsoft.com...
=DateAdd(DateInterval.Day, -1, Now())
alternatively, if you want the date to be 08/22/2005 12:00 AM instead
of 08/22/2005 12:02 PM:
=DateAdd(DateInterval.Day, -1, Today())
Lance Hunt
http://www.lance-hunt.net