"Teo Lachev" <teo@nospam.prologika.com> wrote in message
news:e23c1OsiEHA.2664@TK2MSFTNGP11.phx.gbl...
> Try
>
> =Now().AddDays(-2) or
> =DateTime.Now().AddDays(-2)
>
> The VB.NET Now() function returns .NET DateTime structure type. Check with
> the VS.NET documentation to find out all methods exposed by DateTime.
> --
> Hope this helps.
>
> -----------------------------------------------------
> Teo Lachev, MCSD, MCT
> Author: "Microsoft Reporting Services in Action"
> Publisher website:
http://www.manning.com/lachev > Buy it from Amazon.com :
http://tinyurl.com/3l49j > Home page and blog:
http://www.prologika.com/ > -----------------------------------------------------
>
> "Rory McCaw" <mccawr@rogers.com> wrote in message
> news:ujTEB7riEHA.3288@TK2MSFTNGP10.phx.gbl...
> > I am using the =now() expression in one of my reports but the SQL
> statement
> > I am using uses runs the report based on data from 2 days ago. Is it
> > possible to use something like =now()-2 to give the accurate date of the
> > report data? =now()-2 doesn't work, and I have searched Books online,
and
> > help but haven't found anything.
> >
> > Thanks!
> >
> > Rory
> >
> >
>
>