Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Visual Studio 2005 Report Designer Expressions

Author  Topic 

srucker
Starting Member

26 Posts

Posted - 2009-12-24 : 09:38:37
I am trying to write an expression that will take the date value in field A and return the date of the prior Thursday into Field B.

Ex.

If Fields!FieldA.Value = 12/30/2009
Then set Fields!FieldB.Value = 12/24/2009

Any help would be greatly appreciated!

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-01-02 : 01:44:32
why do you want to do this inside report? isnt it better to bring values as per your requirement from backend query? alternatively if you want this to be done in reports you need to use custom code functions or make use of a hidden parameter.
Go to Top of Page
   

- Advertisement -