code in report
hi,
in my report i wrote a function
Get_Multiple_MonthName()which requires 2 parameters
i am passing those two params from two datasets like this
=Code.Get_Multiple_MonthName(First(Fields!MONTHDESC.Value, "CustomerDetail"),First(Fields!CALTYPE.Value, "CustomerDetail"))
is this is the correct way
pls suggest
August 13th, 2012 6:08am
I believe as long as the expression (in your case a function) is outside a Data Region.
Take a look at the Scope section in the following
http://msdn.microsoft.com/en-us/library/ms159673(v=sql.90).aspx
"For expressions outside of data regions, Scope refers to a dataset"
The problem is likely where your function is executed.Best Wishes, The Redman; If something helps, please help show it by voting, if it solves, bonus!
Free Windows Admin Tool Kit Click here and download it now
August 14th, 2012 12:05am
I believe as long as the expression (in your case a function) is outside a Data Region.
Take a look at the Scope section in the following
http://msdn.microsoft.com/en-us/library/ms159673(v=sql.90).aspx
"For expressions outside of data regions, Scope refers to a dataset"
The problem is likely where your function is executed.Best Wishes, The Redman; If something helps, please help show it by voting, if it solves, bonus!
August 14th, 2012 12:20am